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
b435495850
commit
e009e6dc20
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -31,7 +31,7 @@ pipeline{
|
|||||||
steps {
|
steps {
|
||||||
sshCommand remote: remote, command: '''
|
sshCommand remote: remote, command: '''
|
||||||
set -e
|
set -e
|
||||||
export WORKSPACE="jenkins/workspace/ant-http"
|
export WORKSPACE=$(realpath "./jenkins/workspace/ant-http")
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
[ -d build ] && rm build
|
[ -d build ] && rm build
|
||||||
mkdir build
|
mkdir build
|
||||||
@ -41,7 +41,7 @@ pipeline{
|
|||||||
automake --add-missing
|
automake --add-missing
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
DESTDIR=./build make install
|
DESTDIR=$WORKSPACE/build make install
|
||||||
'''
|
'''
|
||||||
script {
|
script {
|
||||||
// only useful for any master branch
|
// only useful for any master branch
|
||||||
|
Loading…
Reference in New Issue
Block a user