mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-12-25 17:08:22 +01:00
Update Jenkinsfile
This commit is contained in:
parent
5abcc47679
commit
e66336fe56
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -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
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user