1
0
mirror of https://github.com/lxsang/ant-http synced 2024-06-29 11:59:48 +02:00

Update Jenkinsfile

This commit is contained in:
Dany LE 2022-08-01 12:10:24 +02:00 committed by GitHub
parent d2ebccecf0
commit b435495850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

11
Jenkinsfile vendored
View File

@ -29,17 +29,26 @@ pipeline{
{
stage('Build') {
steps {
sshCommand remote: remote, command: '''
sshCommand remote: remote, command: '''
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
}
}
}
}
}