From 82bede7e72a6e489a376e0db90c9f2dfc404cd35 Mon Sep 17 00:00:00 2001 From: Dany LE Date: Tue, 2 Aug 2022 11:43:55 +0200 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 11fe364..38880c6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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