jenkinsci / jenkinsci/workflow-multibranch-plugin
[JENKINS-68184] Error while on Pull Request Branch (git rev error)
- Dominant language
- Java
- Stars
- 87
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
When branch changes to PR it always fails with message that I attached in 'logs_from_PR_jenkins.txt" file.
To reproduce: Configure project as a multibranch pipeline, setup Bitbucket as a source of git, create branch then create Pull Request from it.
---
Originally reported by maciejsikora2302, imported from: Error while on Pull Request Branch (git rev error)
Raw content of original issue
When branch changes to PR it always fails with message that I attached in 'logs_from_PR_jenkins.txt" file.
To reproduce: Configure project as a multibranch pipeline, setup Bitbucket as a source of git, create branch then create Pull Request from it.
- environment:
Ubuntu 20.04.4 LTS, Jenkins 2.332.1, plugin version 711.vdfef37cda_816,
1 attachment
- [logs_from_PR_Jenkins.txt](https://issues.jenkins.io/secure/attachment/57617/logs_from_PR_Jenkins.txt)
Contributor guide
Research direction
Start by reviewing the attached logs_from_PR_Jenkins.txt and reproducing the failure in the workflow-multibranch-plugin with a Bitbucket multibranch pipeline. Trace the git revision error when a branch becomes a pull request, then verify that this transition completes without the reported failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, java
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100