diff --git a/Jenkinsfile b/Jenkinsfile index 1365ebb..555e71a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,8 +32,6 @@ pipeline{ sshCommand remote: remote, command: ''' set -e export WORKSPACE=$(realpath "./jenkins/workspace/antos") - [ -d build ] && rm -rf build - mkdir -p build/opt/www/htdocs/os cd $WORKSPACE npm install terser npm install uglifycss @@ -48,6 +46,7 @@ pipeline{ set -e export WORKSPACE=$(realpath "./jenkins/workspace/antos") cd $WORKSPACE + [ -d build ] && rm -rf build export BUILDDIR="$WORKSPACE/build/opt/www/htdocs/os" make release '''