1
0
Fork 0

fix pipeline

This commit is contained in:
Mikhail Goncharov 2020-02-07 14:01:46 +01:00
parent 602070272d
commit 5defc34e6a

View file

@ -73,25 +73,33 @@ pipeline {
} }
stage('arc patch'){ stage('arc patch'){
steps { steps {
script {
success = false success = false
failure_message = "Failed to apply patch" failure_message = "Failed to apply patch"
}
sh "${SCRIPT_DIR}/phabtalk/apply_patch2.py ${DIFF_ID} --token ${CONDUIT_TOKEN} --url ${PHABRICATOR_HOST} --comment-file ${PHAB_LOG}" sh "${SCRIPT_DIR}/phabtalk/apply_patch2.py ${DIFF_ID} --token ${CONDUIT_TOKEN} --url ${PHABRICATOR_HOST} --comment-file ${PHAB_LOG}"
script {
success = true success = true
failure_message = "" failure_message = ""
} }
} }
}
stage('CMake') { stage('CMake') {
steps { steps {
script {
success = false success = false
failure_message = "Failed to run cmake" failure_message = "Failed to run cmake"
}
sh 'rm -rf build || true' sh 'rm -rf build || true'
sh 'mkdir -p build' sh 'mkdir -p build'
sh 'mkdir -p "${TARGET_DIR}"' sh 'mkdir -p "${TARGET_DIR}"'
sh "${SCRIPT_DIR}/run_cmake.sh" sh "${SCRIPT_DIR}/run_cmake.sh"
script {
success = true success = true
failure_message = "" failure_message = ""
} }
} }
}
stage('ninja all') { stage('ninja all') {
steps { steps {
script { script {