Trigger build step on some branches only


I think it would be useful to have the ability to run some build steps based on the branch currently executed. For example, it would help reduce the number of build configurations that we use for Groovy : the "release" step, which uploads artifacts to a maven repository, should only be run on specific branches (in our case, not on pull request merges).

Does it make sense?

1 comment
Comment actions Permalink

By the way, the same for artifacts. In general, we would like to make artifacts stored on selected branches only, to keep some space...


Please sign in to leave a comment.