Trigger part of a build chain? Follow
Answered
I'm new to this. so any help is appreciated.
Build chain:
↗ B ↘
A → C →E
↘ D ↗
where A is the beginning of the chain (prerequiste of everything else in the chain), BCD are parallel builds (don't depend on one another), and E (a reporter which notify the team about the changes of BCD deployed at once) will be carried out after all previous build succeed. This build chain will be run at a fixed schedule weekly.
But sometimes there are also scenarios where I only want to run B, which will trigger A and run B and then E, leaving all the others untouched. Is there any way to achieve this?
FYI: we are trying to use Kotlin DSL to codify the configurations
Please sign in to leave a comment.
How are you triggering E in the build chain, with only a schedule trigger? You should be able to trigger a build on B (with a snapshot dependency on A) without triggering a build on E. Could you please share an example of your Kotlin DSL?