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

Mirror config ignored for Multibranch Pipeline Jobs

    • 3.2.3

      The Bitbucket mirror is being ignored by Bitbucket multibranch Pipelines.  Jenkins is continuing to poll and build from the main URI

      Noting that this issue has been fixed for standard non-multibranch pipelines in the 3.2.2 release of the plugins.  We created a new job from scratch with the latest LTS and plugins.

       

      config.xml extract:

      <sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="branch-api@2.1046.v0ca_37783ecc5">
      <data>
      <jenkins.branch.BranchSource>
      <source class="com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource" plugin="atlassian-bitbucket-server-integration@3.2.2">
      <id>2ee9282e-be68-4363-a4a2-9e9b98c03800</id>
      <traits>
      <jenkins.plugins.git.traits.BranchDiscoveryTrait plugin="git@4.11.3"/>
      </traits>
      <gitSCMSource>
      <id>2ee9282e-be68-4363-a4a2-9e9b98c03800-git-scm</id>
      <remote>ssh://git@bitbucket-amazon-uat.redacted.redacted:7999/jen/blue.git</remote>
      <credentialsId>e01949841-ssh-uat-bitbucket</credentialsId>
      <traits>
      <jenkins.plugins.git.traits.BranchDiscoveryTrait reference="../../../traits/jenkins.plugins.git.traits.BranchDiscoveryTrait"/>
      </traits>
      <repository>
      <credentialsId>Mark-March-2022</credentialsId>
      <mirrorName>Bitbucket UAT CI Mirror</mirrorName>
      <projectKey>JEN</projectKey>
      <projectName>Jenkins</projectName>
      <repositoryName>blue</repositoryName>
      <repositorySlug>blue</repositorySlug>
      <serverId>aa5d6d2e-da12-4571-9f5b-508b8ad45ee7</serverId>
      <sshCredentialsId>e01949841-ssh-uat-bitbucket</sshCredentialsId>
      </repository>
      </gitSCMSource>

          [JENKINS-68956] Mirror config ignored for Multibranch Pipeline Jobs

          Mark created issue -
          Martin Henschke made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Martin Henschke made changes -
          Assignee New: Martin Henschke [ mhenschke_atlassian ]
          Atlassian Bitbucket Server made changes -
          Labels Original: bitbucket-server New: bitbucket-server triaged
          Martin Henschke made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Daniel Kjellin made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Martin Henschke made changes -
          Released As New: 3.2.3
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            mhenschke_atlassian Martin Henschke
            x35mark Mark
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: