Update Jenkinsfile

This commit is contained in:
Dany LE 2022-08-02 11:43:55 +02:00 committed by GitHub
parent 6758a4bb52
commit 82bede7e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
Jenkinsfile vendored
View File

@ -33,8 +33,9 @@ pipeline{
set -e
export WORKSPACE=$(realpath "./jenkins/workspace/ant-http")
cd $WORKSPACE
[ -d build ] && rm build
[ -d build ] && rm -rf build
mkdir -p build/etc/systemd/system/
mkdir -p build/opt/www
libtoolize
aclocal
autoconf
@ -42,6 +43,7 @@ pipeline{
./configure --prefix=/usr
make
DESTDIR=$WORKSPACE/build make install
ln -sf ../../usr/etc/antd-config.ini build/opt/www/config.ini.example
'''
script {
// only useful for any master branch