Skip to content

Commit

Permalink
Disable propagate argument when triggering child job (#1628)
Browse files Browse the repository at this point in the history
* Add propagate option to substitute the catch block

Signed-off-by: Zelin Hao <zelinhao@amazon.com>
  • Loading branch information
zelinh authored Feb 16, 2022
1 parent bddbc06 commit e0a34eb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions jenkins/check-for-build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,9 @@ pipeline {
error "Job ${TARGET_JOB_NAME} is invalid"
}
build job: "${TARGET_JOB_NAME}", parameters: [
string(name: 'INPUT_MANIFEST', value: "${INPUT_MANIFEST}"),
string(name: 'TEST_MANIFEST', value: "${TEST_MANIFEST}")
], wait: true

string(name: 'INPUT_MANIFEST', value: "${INPUT_MANIFEST}"),
string(name: 'TEST_MANIFEST', value: "${TEST_MANIFEST}")
], wait: true, propagate: false
echo "Build succeeded, uploading build SHA for that job"
buildUploadManifestSHA(
inputManifest: "manifests/${INPUT_MANIFEST}",
Expand Down

0 comments on commit e0a34eb

Please sign in to comment.