Update Jenkinsfile

This commit is contained in:
Dany LE 2022-08-23 18:20:25 +02:00 committed by GitHub
parent b6c90e56cd
commit a0ee2d1090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
Jenkinsfile vendored
View File

@ -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
'''