From ac9c89475c01d15ad9ea62784c973b031100f3f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Mon, 18 Nov 2019 12:24:24 +0100 Subject: [PATCH] moved copying of results to post section --- Jenkins/Phabricator-pipeline/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkins/Phabricator-pipeline/Jenkinsfile b/Jenkins/Phabricator-pipeline/Jenkinsfile index 2aadb51..58c8094 100644 --- a/Jenkins/Phabricator-pipeline/Jenkinsfile +++ b/Jenkins/Phabricator-pipeline/Jenkinsfile @@ -49,8 +49,6 @@ pipeline { stage('arc patch') { steps { sh "python3 ${SCRIPT_DIR}/phabtalk/apply_patch.py" - // keep a copy of the answer from Phabricator for debugging - sh "cp ${DIFF_JSON} ${TARGET_DIR}" } } stage('CMake') { @@ -75,6 +73,8 @@ pipeline { dir("${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" + // keep a copy of the answer from Phabricator for debugging + sh "cp ${DIFF_JSON} ." } /// send results to Phabricator sh '''