Label only the builds in a Build Config matching a Git branch to use these in a dependant build

Completed

Given a build configuration that builds multiple branches (master, develop, pull-requests/*), is there a way of creating a label on the builds that are triggered by a change on a specific branch?

Basic problem:
All the builds are done the same, but for builds on `develop` we need to do some additional steps that that auto-deploys these builds.

I thought about solving this by adding a dependant build config that somehow used only the finished build artifiacts from the `develop` branch. An alternative would be to have an additional build step in the build config that only executed if we were on the right branch, but that doesn't seem quite "right".

I am open to other ways of solving this, though!

 

1 comment
Comment actions Permalink

Seems like such a branch dependant build step is going to land in the next version 2020.1: https://youtrack.jetbrains.com/issue/TW-17939?_ga=2.171926758.716234206.1578910166-1009962424.1551694387

That might work ...

0

Please sign in to leave a comment.