From a0ee2d1090d9da03ef4ae07c60aa9a567f72955c Mon Sep 17 00:00:00 2001 From: Dany LE Date: Tue, 23 Aug 2022 18:20:25 +0200 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 '''