Enabling branch merging in the build randomly changes the name of the job's branch

Create issue
Issue #9 resolved
Former user created an issue

If branch merging is enabled on the build job, for builds of the branches, the name of the branch is randomly set to either "master" or that branch name:

GroovyShell bindings: ... repository_stash_branch_0=master

and sometimes:


Comments (4)

  1. Julius Hutuleac repo owner

    Unfortunatelly I dont have any control over these variables. They are created based on the repository settings in your bamboo. Please try to have a look which repository is using GIT provider, Stash or GITHUB providers. Bamboo has different variables for each provider type and might be causing some confusion.

    In case I missunderstood the problem please send me some anonymised logs with groovy bindings.


  2. Log in to comment