From 2183901d465cce8db7a85efc9e89c84e85966a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Thu, 24 Oct 2019 04:46:30 -0700 Subject: [PATCH] cleanup of script folders --- Jenkins/master-pipeline/Jenkinsfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Jenkins/master-pipeline/Jenkinsfile b/Jenkins/master-pipeline/Jenkinsfile index e17f87f..965ecd2 100644 --- a/Jenkins/master-pipeline/Jenkinsfile +++ b/Jenkins/master-pipeline/Jenkinsfile @@ -20,6 +20,8 @@ pipeline { environment { BUILD_ID="${JOB_BASE_NAME}-${BUILD_NUMBER}" TARGET_DIR="/mnt/nfs/results/${BUILD_ID}" + SCRIPT_DIR = "${WORKSPACE}/llvm-premerge-checks/scripts" + } stages { stage("git checkout"){ @@ -35,22 +37,22 @@ pipeline { } stage('CMake') { steps { - sh 'llvm-premerge-checks/scripts/run_cmake.sh' + sh "${SCRIPT_DIR}/run_cmake.sh" } } stage('ninja all') { steps { - sh 'llvm-premerge-checks/scripts/run_ninja.sh all' + sh "${SCRIPT_DIR}/run_ninja.sh all" } } stage('ninja check') { steps { - sh 'llvm-premerge-checks/scripts/run_ninja.sh check' + sh "${SCRIPT_DIR}/run_ninja.sh check" } } stage('ninja check-all') { steps { - sh 'llvm-premerge-checks/scripts/run_ninja.sh check-all' + sh "${SCRIPT_DIR}/run_ninja.sh check-all" } } }