-
Bug
-
Resolution: Duplicate
-
Major
-
Jenkins v2.222.3 with official Docker image 'jenkins/jenkins:lts'
atlassian-bitbucket-server-integration plugin v1.1.0
Bitbucket Server v7.2.1
Summary :
Personal repository configuration uses wrong settings after saving.
The user's ID is replaced by it's full name in configuration
Usecase :
- Create a new "multibranch pipeline" job => OK
- Add a new Branch Sources with Bitbucket Server (atlassian-bitbucket-server-integration plugin) => OK
- Set Credentuals and Bitbucket Server instance => OK
- Set "Project name" like specified for personal repository syntax => OK
- Set "Repository name" => OK
- Test connection => OK
- Save job configuration => ERROR
- Back in configuration page => WRONG SETTINGS
Example of personnal Bitbucket repo :
https://bitbucket.xxxxxx.com/users/sirgu/repos/componentexample/browse
Multibranch pipeline project configuration :
After configuration saving :
Scan Multibranch Pipeline Log
StartedStarted[Wed Jun 24 10:12:21 UTC 2020] Starting branch indexing...ERROR: [Wed Jun 24 10:12:21 UTC 2020] Could not fetch branches from source ca683084-e9be-4515-b6fd-ba04a128d297java.lang.NullPointerException at hudson.Util.getDigestOf(Util.java:634) at jenkins.plugins.git.AbstractGitSCMSource.getCacheEntry(AbstractGitSCMSource.java:1383) at jenkins.plugins.git.AbstractGitSCMSource.getCacheEntry(AbstractGitSCMSource.java:1218) at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:339) at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:566) at com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource$CustomGitSCMSource.accessibleRetrieve(BitbucketSCMSource.java:447) at com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:189) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:373) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:283) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:643) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:278) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1034) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428)[Wed Jun 24 10:12:21 UTC 2020] Finished branch indexing. Indexing took 1 msFATAL: Failed to recompute children of Docker_declarative_pipelinejava.lang.NullPointerException at hudson.Util.getDigestOf(Util.java:634) at jenkins.plugins.git.AbstractGitSCMSource.getCacheEntry(AbstractGitSCMSource.java:1383) at jenkins.plugins.git.AbstractGitSCMSource.getCacheEntry(AbstractGitSCMSource.java:1218) at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:339) at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:566) at com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource$CustomGitSCMSource.accessibleRetrieve(BitbucketSCMSource.java:447) at com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:189) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:373) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:283) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:643) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:278) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1034) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428)Finished: FAILURE
Back in configuration page :
Project name changed from "~sirgu" to "LAST NAME Remy" (full name)
- duplicates
-
JENKINS-60274 Unable to use plugin with private Bitbucket repositories
- Closed