1
0
Fork 0

fix call to phabtalk.py

This commit is contained in:
Mikhail Goncharov 2019-12-11 13:45:25 +01:00
parent 4577fa81cd
commit a3cb3b11d3

View file

@ -33,6 +33,7 @@ pipeline {
stage("build info"){ stage("build info"){
steps { steps {
echo "Building diff ${DIFF_ID} with PHID ${PHID}" echo "Building diff ${DIFF_ID} with PHID ${PHID}"
currentBuild.description = "diff ${DIFF_ID}"
} }
} }
stage("git checkout"){ stage("git checkout"){
@ -77,6 +78,7 @@ pipeline {
} }
post { post {
always { always {
echo "Console log is available at ${RESULT_URL}" echo "Console log is available at ${RESULT_URL}"
dir("${TARGET_DIR}") { dir("${TARGET_DIR}") {
// copy console log to result folder // copy console log to result folder
@ -105,7 +107,7 @@ EOF
--comment-file "${PHAB_LOG}" \ --comment-file "${PHAB_LOG}" \
--host "${PHABRICATOR_HOST}/api/" \ --host "${PHABRICATOR_HOST}/api/" \
--buildresult ${currentBuild.result} \ --buildresult ${currentBuild.result} \
---clang-format-patch "${TARGET_DIR}/clang-format.patch" --clang-format-patch "${TARGET_DIR}/clang-format.patch"
""" """
} }
} }