1
0
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:
Dany LE 2022-08-02 08:33:46 +02:00 committed by GitHub
parent f575dd91a9
commit 2ad3b4dfb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
Jenkinsfile vendored
View File

@ -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
//} //}
//} //}
} }