1
0
Fork 0

fix for variables

This commit is contained in:
Christian Kühnel 2019-10-23 11:42:36 -07:00
parent 679ad9ba23
commit be9775f82d

View file

@ -56,10 +56,10 @@ pipeline {
}
post {
always {
sh 'echo "Console log is available at https://results.new.llvm-mgerge-guards/${BUILD_ID}"'
dir('${env.TARGET_DIR}') {
sh "echo Console log is available at https://results.new.llvm-mgerge-guards/${env.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'
sh "wget -qO console-log.txt http://jenkins-ui.jenkins.svc.cluster.local:8080/job/${env.JOB_BASE_NAME}/${env.BUILD_NUMBER}/consoleText"
}
}
}