1
0
Fork 0

trying to stop script on errors

This commit is contained in:
Christian Kühnel 2020-01-16 11:31:12 +01:00
parent ed69149119
commit a0cd42f18c

View file

@ -56,7 +56,10 @@ pipeline {
stage('arc patch'){ stage('arc patch'){
steps { steps {
dir("${LLVM_DIR}"){ dir("${LLVM_DIR}"){
powershell "python3 ${SCRIPT_DIR}/phabtalk/apply_patch2.py --comment-file ${PHAB_LOG} --token ${CONDUIT_TOKEN} --url ${PHABRICATOR_HOST} ${DIFF_ID}" powershell """
\$ErrorActionPreference = 'Stop'
python3 ${SCRIPT_DIR}/phabtalk/apply_patch2.py --comment-file ${PHAB_LOG} --token ${CONDUIT_TOKEN} --url ${PHABRICATOR_HOST} ${DIFF_ID}
"""
} }
} }
} }