From b8c4edef553b9b7b7029b75d4d3d15807266eed1 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 1 Sep 2021 12:38:59 +0000 Subject: [PATCH] updateing the test jenkinsfiles --- jenkins-pipeline/Jenkinsfile.001 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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" } } }