-
Improvement
-
Resolution: Fixed
-
Major
-
-
Blue Ocean 1.4 - beta 2
Please pull in the changes made to the SCM API to reduce the number of checkouts required for pipelines. Related to JENKINS-33273
There was a mention in the referenced issue about PRs needing special treatment: "there is no implementation currently for github-branch-source-plugin in the case of a PR job configured to merge with the base branch, as GitHub does not offer an API dedicated to this purpose. In the case that the merge can be assumed to be a fast-forward (there is no base branch change subsequent to the common ancestor), this plugin could in principle load content via API from the PR branch; it would still need to fall back to full checkout and Git merge otherwise." - https://issues.jenkins-ci.org/browse/JENKINS-33273?focusedCommentId=292273#comment-292273
- causes
-
JENKINS-57257 No commit found for SHA after updating github branch source plugin
-
- Closed
-
- is duplicated by
-
JENKINS-53988 skipDefaultCheckout not honored in Pull Requests
-
- Closed
-
- is related to
-
JENKINS-33273 Optimize Jenkinsfile loading and branch detection
-
- Resolved
-
-
JENKINS-50937 GitHub Multibranch PR: unclear error message for PR with merge conflicts
-
- Resolved
-
- relates to
-
JENKINS-44729 Optimize git clones via shared reference repo for multi branch builds of same repository
-
- Open
-
- links to
CC hrmpw. My latest suggestion was to check if the file had been modified in at most one of the branches to be merged, and if so, load it via API; otherwise simply throw an AbortException requesting that the user push a merge commit, even when there is not necessarily a line-by-line conflict.