-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins 2.346.1
Bitbucket Server Integration 3.2.2
-
-
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>