Skip to content

Commit ab5a9dc

Browse files
committed
Do not trigger post-submit-test-cascade-heavy if package build failed
... to avoid package builds during tests allocating executors waiting for a package build to complete Change-Id: I5ae40d9d5f08e539c97fc8881a1818df73b44db7 (cherry picked from commit aab4393)
1 parent 8a36c04 commit ab5a9dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

buildscripts/scripts/trigger-build-upload-cmk-distro-package.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def main() {
104104

105105
smart_stage(
106106
name: "Trigger trigger-post-submit-test-cascade-heavy",
107-
condition: trigger_post_submit_heavy_chain,
107+
condition: trigger_post_submit_heavy_chain && currentBuild.result == "SUCCESS",
108108
) {
109109
build(
110110
job: "${branch_base_folder}/trigger-post-submit-test-cascade-heavy",

0 commit comments

Comments
 (0)