-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
jenkins Version 2.479.2
Hi Team,
we have a multibranch pipeline which uses "Bitbucket Server Integration" plugin to check out the code , now we are facing the checkout issues intermittently , below are the error
Bitbucket Server Integration plugin version : Version4.2.0
10:51:07 Branch event 10:51:07 Checking out git https://bitbucket.corp.com/scm/mob/cc.git into /var/jenkins_home/workspace/ndows_Unit-Tests_Auto-UT_PR-5234@script/fee6689927402795514e7739cbef0667fafc787299f9200e3fff5d7fcd4cbdb1 to read pipeline/windows/zcc/Jenkinsfile_UnitTest.groovy 10:51:07 The recommended git tool is: NONE 10:51:07 using credential 30b0d528-0171-eeee-2222-1a02ee69672c 10:51:07 Cloning the remote Git repository 10:51:07 Avoid fetching tags 10:51:07 Cloning repository https://bitbucket.corp.com/scm/mob/cc.git 10:51:07 > /usr/bin/git init /var/jenkins_home/workspace/ndows_Unit-Tests_Auto-UT_PR-5234@script/fee6689927402795514e7739cb234667fafc787299f9200e3fff5d7fcd4cbdb1 # timeout=60 10:51:07 [WARNING] Reference path does not exist: C:\Users\zsbuilder\Mobile\src\mobile\git-client\repos\cc.git 10:51:07 Fetching upstream changes from https://bitbucket.corp.com/scm/mob/cc.git 10:51:07 > /usr/bin/git --version # timeout=60 10:51:08 > git --version # 'git version 2.39.5' 10:51:08 using GIT_ASKPASS to set credentials MOBILE Bitbucket Service Account 10:51:08 > /usr/bin/git fetch --no-tags --force --progress -- https://bitbucket.corp.com/scm/mob/cc.git +refs/heads/*:refs/remotes/origin/* # timeout=60 10:58:39 > /usr/bin/git config remote.origin.url https://bitbucket.corp.com/scm/mob/cc.git # timeout=60 10:58:39 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=60 10:58:39 > /usr/bin/git config remote.origin.url https://bitbucket.corp.com/scm/mob/cc.git # timeout=60 10:58:39 Fetching upstream changes from https://bitbucket.corp.com/scm/mob/cc.git 10:58:39 using GIT_ASKPASS to set credentials MOBILE Bitbucket Service Account 10:58:40 > /usr/bin/git fetch --no-tags --force --progress -- https://bitbucket.corp.com/scm/mob/cc.git +refs/heads/*:refs/remotes/origin/* +refs/pull-requests/5234/from:refs/remotes/origin/PR-5234 # timeout=60 11:00:27 > /usr/bin/git rev-parse origin/PR-5234^{commit} # timeout=60 11:00:27 Merging Revision b5e46fcb96edd233451a2aef6cd2bae8371fb803 (origin/PR-5234) to origin/develop, UserMergeOptions{mergeRemote='origin', mergeTarget='develop', mergeStrategy='DEFAULT', fastForwardMode='FF'} 11:00:27 > /usr/bin/git rev-parse origin/develop^{commit} # timeout=60 11:00:27 > /usr/bin/git config core.sparsecheckout # timeout=60 11:00:27 > /usr/bin/git checkout -f origin/develop # timeout=60 11:06:24 > /usr/bin/git remote # timeout=60 11:06:24 > /usr/bin/git config --get remote.origin.url # timeout=60 11:06:24 using GIT_ASKPASS to set credentials MOBILE Bitbucket Service Account 11:06:24 > /usr/bin/git merge --ff b5e46fcb96edd233451a2aef6cd2bae8371fb803 # timeout=60 11:06:39 > /usr/bin/git config core.sparsecheckout # timeout=60 11:06:39 > /usr/bin/git checkout -f b5e46fcb96edd233451a2aef6cd2bae8371fb803 # timeout=60 11:08:13 ERROR: Branch not suitable for integration as it does not merge cleanly: Command "/usr/bin/git merge --ff b5e46fcb96edd233451a2aef6cd2bae8371fb803" returned status code 128: 11:08:13 stdout: 11:08:13 stderr: Committer identity unknown 11:08:13 11:08:13 *** Please tell me who you are. 11:08:13 11:08:13 Run 11:08:13 11:08:13 git config --global user.email "you@example.com" 11:08:13 git config --global user.name "Your Name" 11:08:13 11:08:13 to set your account's default identity. 11:08:13 Omit --global to set the identity only in this repository. 11:08:13 11:08:13 fatal: unable to auto-detect email address (got 'jenkins@95cf195509d0.(none)') 11:08:13 11:08:13 ERROR: Maximum checkout retry attempts reached, aborting 11:08:13 ERROR: Branch not suitable for integration as it does not merge cleanly: Command "/usr/bin/git merge --ff b5e46fcb96edd233451a2aef6cd2bae8371fb803" returned status code 128: 11:08:13 stdout: 11:08:13 stderr: Committer identity unknown 11:08:13 11:08:13 *** Please tell me who you are. 11:08:13 11:08:13 Run 11:08:13 11:08:13 git config --global user.email "you@example.com" 11:08:13 git config --global user.name "Your Name" 11:08:13 11:08:13 to set your account's default identity. 11:08:13 Omit --global to set the identity only in this repository. 11:08:13 11:08:13 fatal: unable to auto-detect email address (got 'jenkins@95cf195509d0.(none)') 11:08:13 11:08:13 ERROR: Maximum checkout retry attempts reached, aborting 11:08:13 Finished: FAILURE