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

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:

repository_stash_branch_0=XYZ

Comments (4)

  1. Hutuleac Iulius 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.

    Julius

  2. Log in to comment