-
Bug
-
Resolution: Won't Do
-
Minor
-
None
There is an issue when building pull requests and the clone trait is present with shallow clone option.
Apparently you need some history in order to be able to do a merge.
We need to disable shallow clone when we know a merge will take place.
At the first look, this can be fixed in
com.cloudbees.jenkins.plugins.bitbucket.BitbucketGitSCMBuilder
org.jenkinsci.plugins.github_branch_source.GitHubSCMBuilder
I had identified the problem using bitbucket-branch-source-plugin but the should be visible on github-branch-source-plugin also..
- blocks
-
JENKINS-44598 git workspace should be reset before build PR merged with base branch
-
- Open
-
- links to
(1 links to, 3 mentioned in)
[JENKINS-45771] Disable shallow clone when we know a merge will take place
Issue Type | Original: Bug [ 1 ] | New: New Feature [ 2 ] |
Assignee | Original: Mark Waite [ markewaite ] |
Description |
Original:
There is an issue when building pull requests and the clone trait is present with shallow clone option. Apparently you need some history in order to be able to do a merge. We need to disable shallow clone when we know a merge will take place. At the first look, this can be fixed in {{com.cloudbees.jenkins.plugins.bitbucket.BitbucketGitSCMBuilder}} {{org.jenkinsci.plugins.github_branch_source.GitHubSCMBuilder}} I had identified the problem using bitbucket-branch-source-plugin but the should be visible on github-branch-source-plugin also. |
New:
There is an issue when building pull requests and the clone trait is present with shallow clone option. Apparently you need some history in order to be able to do a merge. We need to disable shallow clone when we know a merge will take place. At the first look, this can be fixed in {{com.cloudbees.jenkins.plugins.bitbucket.BitbucketGitSCMBuilder}} {{org.jenkinsci.plugins.github_branch_source.GitHubSCMBuilder}} I had identified the problem using bitbucket-branch-source-plugin but the should be visible on github-branch-source-plugin also.. |
Remote Link | New: This issue links to "git-client-plugin#255 (Web Link)" [ 17335 ] |
Remote Link | New: This issue links to "git-plugin#516 (Web Link)" [ 17336 ] |
Assignee | New: Stephen Connolly [ stephenconnolly ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "gitea-plugin#4 (Web Link)" [ 17337 ] |
Remote Link | New: This issue links to "bitbucket-branch-source-plugin#64 (Web Link)" [ 17338 ] |
Remote Link | New: This issue links to "github-branch-source-plugin#150 (Web Link)" [ 17339 ] |