1
0
Fork 0

added env variable for result storage

This commit is contained in:
Christian Kühnel 2019-12-13 15:20:55 +00:00
parent 8fcc871833
commit 819dac1b36

View file

@ -23,9 +23,10 @@ pipeline {
// enable timestaps for getting execution times // enable timestaps for getting execution times
options { timestamps () } options { timestamps () }
environment { environment {
BUILD_ID="${JOB_BASE_NAME}-${BUILD_NUMBER}" BUILD_ID = "${JOB_BASE_NAME}-${BUILD_NUMBER}"
TARGET_DIR="/mnt/nfs/results/${BUILD_ID}" TARGET_DIR = "/mnt/nfs/results/${BUILD_ID}"
SCRIPT_DIR = "${WORKSPACE}/llvm-premerge-checks/scripts" SCRIPT_DIR = "${WORKSPACE}/llvm-premerge-checks/scripts"
RESULT_DIR = "C:\\results\\${BUILD_ID}"
} }
stages { stages {
stage("git checkout"){ stage("git checkout"){