Triggering build from other build
I have a setup in which I need to trigger downstream builds:
Project Package builds artifact package on any changes in VCS
Projects Deploy1, Deploy2, Deploy3, Deploy4 and Deploy5 publish resulted package to different places. These builds are not meant to be triggered by Package (i.e. they should only be triggered by Promoting)
Project DeployShortcut should do nothing, but trigger Deploy1, Deploy2 and Deploy3. This build should not be triggered by anything but manual Promotion of Package build (see it as a shortcut for 3 manual promotions).
Project AutoDeploy should be triggered by successful build in Package and it should do nothing, but trigger Deploy4 and Deploy5 with built package.
I have configured Package, Deploy1, Deploy2, Deploy3, Deploy4 and Deploy5, so they juggle artifacts without problems. It would be great if there was some option like "Trigger projects after successful build: {list of projects}", but I couldn't found such. Is it possible to setup DeployShortcut and AutoDeploy without referencing them in Deploy1, Deploy2, Deploy3, Deploy4 and Deploy5? And if it's not possible, how should I setup this system anyway?
Please sign in to leave a comment.
Nevermind, I've figured it out on my own.