Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39083

Record the "default branch" of the Bitbucket repository

      In order to solve JENKINS-38601 we need to know what branch other than master the "default branch" has been set to on Bitbucket. Setting it as a property on the multi-branch job would do.

      Not sure what value this is in the v2 API but heres the v1 for reference.
      https://confluence.atlassian.com/bitbucket/repository-resource-1-0-296095202.html#repositoryResource1.0-GETtherepository'smainbranch

          [JENKINS-39083] Record the "default branch" of the Bitbucket repository

          James Dumay added a comment -

          stephenconnolly is this covered in your changes around JENKINS-43507 ?

          James Dumay added a comment - stephenconnolly is this covered in your changes around JENKINS-43507 ?

          No, IIRC it was https://issues.jenkins-ci.org/browse/JENKINS-40835 that fixed this

          Stephen Connolly added a comment - No, IIRC it was https://issues.jenkins-ci.org/browse/JENKINS-40835  that fixed this

            stephenconnolly Stephen Connolly
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: