Update Jenkinsfile

This commit is contained in:
Dany LE 2022-08-02 11:56:56 +02:00 committed by GitHub
parent ef95e55d50
commit 558ef1b3ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
Jenkinsfile vendored
View File

@ -32,17 +32,20 @@ pipeline{
sshCommand remote: remote, command: '''
set -e
export WORKSPACE=$(realpath "./jenkins/workspace/antos")
[ -d build ] && rm -rf build
mkdir build
cd $WORKSPACE
npm install terser
npm install uglifycss
npm install typescript
npm install @types/jquery
make ar
export BUILDDIR="$WORKSPACE/build"
make release
'''
script {
// only useful for any master branch
//if (env.BRANCH_NAME =~ /^master/) {
archiveArtifacts artifacts: 'd.ts/, release/antos-1.1.2.tar.gz', fingerprint: true
archiveArtifacts artifacts: 'd.ts/, build/', fingerprint: true
//}
}
}