diff --git a/Jenkins/release-pipeline/Jenkinsfile b/Jenkins/release-pipeline/Jenkinsfile index 9222f43..dae39e4 100644 --- a/Jenkins/release-pipeline/Jenkinsfile +++ b/Jenkins/release-pipeline/Jenkinsfile @@ -17,9 +17,11 @@ pipeline { pollSCM '*/5 * * * *' } environment { - BUILD_ID="${JOB_BASE_NAME}-${BUILD_NUMBER}" - TARGET_DIR="/mnt/nfs/results/${BUILD_ID}" + MY_BUILD_ID = "${JOB_BASE_NAME}-${BUILD_NUMBER}" + TARGET_DIR="/mnt/nfs/results/${MY_BUILD_ID}" SCRIPT_DIR = "${WORKSPACE}/llvm-premerge-checks/scripts" + RESULT_DIR = "${WORKSPACE}\\results" + LLVM_DIR = "${WORKSPACE}\\llvm-project" } stage("build and test on Windows and Linux"){ parallel { @@ -57,7 +59,7 @@ pipeline { } post { always { - echo "Console log is available at https://results.new.llvm-merge-guard.org/${BUILD_ID}" + echo "Console log is available at https://results.new.llvm-merge-guard.org/${MY_BUILD_ID}" dir("${env.TARGET_DIR}") { // copy console log to result folder sh "wget -qO console-log.txt http://jenkins-ui.jenkins.svc.cluster.local:8080/job/${JOB_BASE_NAME}/${BUILD_NUMBER}/consoleText"