git checkout -f 8e3b73d51abd3f0e77f7d1bf16dbdaa46b0f734e # timeout=10 ERROR: Checkout failed hudson.plugins.git.GitException: Command "git checkout -f 8e3b73d51abd3f0e77f7d1bf16dbdaa46b0f734e" returned status code 128: stdout: stderr: fatal: reference is not a tree: 8e3b73d51abd3f0e77f7d1bf16dbdaa46b0f734e at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2430) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$1100(CliGitAPIImpl.java:81) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2743) Caused: hudson.plugins.git.GitException: Could not checkout 8e3b73d51abd3f0e77f7d1bf16dbdaa46b0f734e at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2767) at jenkins.plugins.git.MergeWithGitSCMExtension.checkout(MergeWithGitSCMExtension.java:144) at jenkins.plugins.git.MergeWithGitSCMExtension.decorateRevisionToBuild(MergeWithGitSCMExtension.java:110) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1063) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1168) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:125) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:155) at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:142) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:309) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) Retrying after 10 seconds
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6ec7c0f7-2d45-4352-ac9e-85b6ce3bba19o%40googlegroups.com.
Hi Mark, I share the information you requested.We have a BitBucket Webhook to notify Jenkins to build this Multibranch pipelineAnswers for your questions:
- We use BitBucket Branch Source plugin in our Multibranch pipeline
- This commit is present in the project repository
- When a single commit was pushed, we didn’t face this issue but when more than N commits were pushed, this problem occurred consistently
- Enabled "Call can merge" option to solve the problem, but it didn't solve.
Observations:
- The pipeline failed during “checkout” itself with this error
- We found that the same commit was built successfully when the Multibranch pipeline was indexed and scanned.
- However when that individual feature branch was built manually, the checkout failed.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f21939ce-29d3-4ac8-b00b-64531c6057b3n%40googlegroups.com.