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

9
Jenkinsfile vendored
View File

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