Currently this variable is set in CustomPreBuildAction.
      That's too late as one of the uses is to parameterise non-default repositories to checkout the same branch as default repository. (see BAM-11544)

      Move the code setting the variable to the same timepoint when we set other built-in variables like ${bamboo.buildNumber}

          Form Name

            [BAM-12900] ${bamboo.repository.branch.name} is set too late

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1433997 ] New: JAC Bug Workflow v3 [ 3378372 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1407712 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1433997 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 619005 ] New: Bamboo Workflow 2016 v1 [ 1407712 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 605239 ] New: Bamboo Workflow 2014 v2 [ 619005 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 496526 ] New: Bamboo Workflow 2014 [ 605239 ]
            Marcin Gardias made changes -
            Fix Version/s New: 5.0 [ 29794 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            James Dumay made changes -
            Labels New: bugfix
            James Dumay made changes -
            Component/s New: Plan Branches [ 18190 ]
            Component/s New: Variables [ 18191 ]
            Marcin Gardias created issue -

              Unassigned Unassigned
              mgardias Marcin Gardias
              Affected customers:
              4 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: