mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 00:38:21 +01:00
Update Jenkinsfile
This commit is contained in:
parent
d2ebccecf0
commit
b435495850
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -33,13 +33,22 @@ pipeline{
|
||||
set -e
|
||||
export WORKSPACE="jenkins/workspace/ant-http"
|
||||
cd $WORKSPACE
|
||||
[ -d build ] && rm build
|
||||
mkdir build
|
||||
libtoolize
|
||||
aclocal
|
||||
autoconf
|
||||
automake --add-missing
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
DESTDIR=./build make install
|
||||
'''
|
||||
script {
|
||||
// only useful for any master branch
|
||||
if (env.BRANCH_NAME =~ /^master/) {
|
||||
archiveArtifacts artifacts: 'build/', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user