adde missing variables
This commit is contained in:
parent
86a3209286
commit
b35a00dc57
1 changed files with 5 additions and 3 deletions
8
Jenkins/release-pipeline/Jenkinsfile
vendored
8
Jenkins/release-pipeline/Jenkinsfile
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue