Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Single promotion request triggering multiple promotions #4023

tardis4500 ·

We have a ButBucket configuration defined to build a repo where the branch is specified as "releases/*". This configuration has a promotion to a deployment configuration but when this promotion is triggered on a specific build, the promotion is run once for every matching releases branch. So if there are two branches (releases/1.0, and releases/2.0) the single button press runs the promotion twice.

  • replies 2
  • views 29
  • stars 0
robinshen ADMIN ·
tardis4500 ·

Since the Git repo is inherited and the branch is obtained from a script variable it's a little tricky but I found a workaround where I set that value on the promotion to ${build.getRepository('Git Source Repository').getActualBranch()}. But having the fix above would be great. Thanks!