mirror of
https://github.com/lxsang/antd-lua-plugin
synced 2024-12-26 09:28:22 +01:00
Update Jenkinsfile
This commit is contained in:
parent
f575dd91a9
commit
2ad3b4dfb4
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -33,17 +33,20 @@ pipeline{
|
|||||||
set -e
|
set -e
|
||||||
export WORKSPACE=$(realpath "./jenkins/workspace/antd-lua-plugin")
|
export WORKSPACE=$(realpath "./jenkins/workspace/antd-lua-plugin")
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
|
[ -d build ] && rm build
|
||||||
|
mkdir build
|
||||||
libtoolize
|
libtoolize
|
||||||
aclocal
|
aclocal
|
||||||
autoconf
|
autoconf
|
||||||
automake --add-missing
|
automake --add-missing
|
||||||
./configure --prefix=/opt/www
|
./configure --prefix=/opt/www
|
||||||
make
|
make
|
||||||
|
DESTDIR=$WORKSPACE/build make install
|
||||||
'''
|
'''
|
||||||
//script {
|
script {
|
||||||
// only useful for any master branch
|
// only useful for any master branch
|
||||||
//if (env.BRANCH_NAME =~ /^master/) {
|
//if (env.BRANCH_NAME =~ /^master/) {
|
||||||
//archiveArtifacts artifacts: 'd.ts/, release/antos-1.1.2.tar.gz', fingerprint: true
|
archiveArtifacts artifacts: 'build/', fingerprint: true
|
||||||
//}
|
//}
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user