If you're familiar with the "Finish Build" trigger:
- When you load it, you get one set of options.
- If you select a build configuration which is a multi-branch build, you can select which specific branch you want to trigger from. Great! This is the first half of exactly what I'm looking for!
- ...BUT you can't specify which branch you want to build!
In other words:
Configuration A has branches 1, 2, and 3
Configuration B has branches X, Y, and Z
A build in A.1 needs to trigger B.X, but A.2 should trigger B.Y instead of B.X
There doesn't seem to be any way to do this, at all. I can specify branches in the VCS trigger, and in the Finish Build Trigger it's half way there, but it's more or less completely useless because it won't let me trigger a specific branch (so it only triggers the default branch, which is usually incorrect.)
Without this feature, it seems like the multi-branch builds are basically missing something.
Another example (if you didn't follow above and want more examples), from Java/Maven this time:
Maven trigger detects new published artifact 1.2.3 and triggers a release branch build.
Maven trigger detects new published artifact 1.2.3-SNAPSHOT and triggers a dev branch build because the release branch isn't supposed to use snapshots.
Repeat for C#/NuGet.
What do you think? Is this something I can get some traction on?
PS: I've opened a Youtrack ticket (TW-39588https://youtrack.jetbrains.com/issue/TW-6439) for this which was closed as a duplicate of another ticket (TW-6439), then someone else from JetBrains told me to come to the forum because it didn't belong either. Argh! :)