fix pipeline
This commit is contained in:
parent
602070272d
commit
5defc34e6a
1 changed files with 16 additions and 8 deletions
24
Jenkins/Phabricator-pipeline/Jenkinsfile
vendored
24
Jenkins/Phabricator-pipeline/Jenkinsfile
vendored
|
@ -73,23 +73,31 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('arc patch'){
|
stage('arc patch'){
|
||||||
steps {
|
steps {
|
||||||
success = false
|
script {
|
||||||
failure_message = "Failed to apply patch"
|
success = false
|
||||||
|
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}"
|
||||||
success = true
|
script {
|
||||||
failure_message = ""
|
success = true
|
||||||
|
failure_message = ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('CMake') {
|
stage('CMake') {
|
||||||
steps {
|
steps {
|
||||||
success = false
|
script {
|
||||||
failure_message = "Failed to run cmake"
|
success = false
|
||||||
|
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"
|
||||||
success = true
|
script {
|
||||||
failure_message = ""
|
success = true
|
||||||
|
failure_message = ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('ninja all') {
|
stage('ninja all') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue