How can I trigger a parameterized build only if the parent finished successfully AND it had changes (changes pushed to scm)? Here is a scenario: I have 3 builds: A, B and C. B will built if it is called by A or it has changes. C should be built only if B finished successfully and if B was built because of scm changes and NOT because it was triggered by A Thanks | |||
Add to A:Post-build Actions → Trigger parameterized build on other projects:
Add to B:Meta Data → [?] This build is parameterized → Add parameter → String parameter:
Post-build Actions → Trigger parameterized build on other projects:
Add to C:Meta Data → [?] This build is parameterized_ → Add parameter → String parameter:
Build → Add Build step → Conditional step (single):
UPDATE 1The settings given above induce the following:
According to the discussion the following is intended:
UPDATE 2To prevent C from being triggered at 1.:
|
联系客服