1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-01 12:59:47 +02:00

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