diff --git a/jenkins-pipeline/Jenkinsfile.001 b/jenkins-pipeline/Jenkinsfile.001 index 0312aef..c3998e4 100644 --- a/jenkins-pipeline/Jenkinsfile.001 +++ b/jenkins-pipeline/Jenkinsfile.001 @@ -3,7 +3,8 @@ pipeline { agent none environment { - THIS_SVN_URL = 'https://code.miflux.com/svn/hio/trunk/hio' + THIS_PROJECT = 'hio' + THIS_SVN_URL = "https://code.miflux.com/svn/hio/trunk/${THIS_PROJECT}" } stages { @@ -65,14 +66,14 @@ pipeline { stage('Build') { steps { echo "Do build for ${BUILD_TYPE} on ${PLATFORM}" - sh "ls -laF && ./configure && make" + sh "cd ${THIS_PROJECT} && ./configure && make" } } stage('Test') { steps { echo "Do Test for ${BUILD_TYPE} on ${PLATFORM}" - sh "make check" + sh "cd ${THIS_PROJECT} && make check" } } }