mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 16:58:22 +01:00
Update Jenkinsfile
This commit is contained in:
parent
6758a4bb52
commit
82bede7e72
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user