Closed lseek closed 7 years ago
Hi @lseek
Thanks for bringing this up! You're right, I was able to reproduce this issue with Bamboo 6.1.
I've fixed this now and will ship the bug fix with the next release coming very soon (hopefully this week).
I'll report back here once it is out!
Best regards, Michael
We have fixed this with the latest release 1.9.2. Thanks again for bringing this up!
Hi,
Firstly, great plugin - helped us recover from disasters a few times :).
I've run into a problem with the branch management strategy of a build plan where the strategy is NOT being set.
For example I create a seed task with the following inline script:
When I run this seed plan it creates the new build plan but the branch management strategy is set to "manual".
Bamboo version:
6.1.0 build 60103 - 18 Jul 17
Plugin version:1.9.1
NOTE: The auto branch management was working fine until we switched from Bamboo
5.14.5 build 51419 - 10 Mar 17
to6.1.0 build 60103 - 18 Jul 17
yesterday.I tried setting the other strategies in the seed task code and observed the following:
createPlanBranchesForNewPullRequests()
it works (i.e. the plan is created with the correct auto-management strategy) BUT if I now modify the strategy in the seed plan to any other strategy (e.g.doNotCreatePlanBranches()
) and run the seed plan the branch management strategy does not get updated, it stays at "When pull request is created".newPlanBranchesForMatchingBranchNames
), the management strategy is successfully set to the "When new branch in repository is created and matches expression" strategy. If I choose any of the other two strategies ("Manually" or "When pull request is created"), save the plan and run the seed plan the generated plan DOES NOT get updated to the "When new branch in repository is created and matches expression" strategy.For now we've reverted back to the old version but that's only a temporary measure ... we need to upgrade to the new version sooner rather than later.
Any help is appreciated. Thanks.