1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-19 18:08:21 +01:00

Update Jenkinsfile

This commit is contained in:
Dany LE 2022-08-02 12:04:31 +02:00 committed by GitHub
parent 5abcc47679
commit e66336fe56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
Jenkinsfile vendored
View File

@ -32,12 +32,15 @@ pipeline{
set -e
export WORKSPACE=$(realpath "./jenkins/workspace/antd-web-apps")
cd $WORKSPACE
make ar
[ -d build ] && rm -rf build
mkdir -p build/opt/www/htdocs
export BUILDDIR="$WORKSPACE/build/opt/www/htdocs"
make
'''
script {
// only useful for any master branch
//if (env.BRANCH_NAME =~ /^master/) {
archiveArtifacts artifacts: 'dist/', fingerprint: true
archiveArtifacts artifacts: 'build/', fingerprint: true
//}
}
}