Details
-
Improvement
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
-
Blue Ocean 1.4 - beta 2
Description
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
Attachments
Issue Links
- 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
Activity
Field | Original Value | New Value |
---|---|---|
Summary | Optimize Jenkinsfile loading | Optimize Jenkinsfile loading (github multibranch source) |
Link |
This issue is related to |
Link | This issue relates to JENKINS-44729 [ JENKINS-44729 ] |
Summary | Optimize Jenkinsfile loading (github multibranch source) | Lightweight checkout for PR merge jobs |
Priority | Minor [ 4 ] | Major [ 3 ] |
Labels | multibranch pipeline | cloudbees-internal-pipeline multibranch pipeline |
Component/s | blueocean-plugin [ 21481 ] |
Sprint | Blue Ocean 1.4 - beta 2 [ 426 ] |
Assignee | Vivek Pandey [ vivek ] |
Sprint | Blue Ocean 1.4 - beta 2 [ 426 ] | Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2 [ 416, 426 ] |
Sprint | Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2 [ 416, 426 ] | Blue Ocean 1.4 - beta 2, Pipeline - December [ 426, 446 ] |
Rank | Ranked lower |
Remote Link | This issue links to "CloudBees Internal CD-341 (Web Link)" [ 18973 ] |
Remote Link | This issue links to "workflow-multibranch PR 69 (Web Link)" [ 19420 ] |
Assignee | Vivek Pandey [ vivek ] | rsandell [ rsandell ] |
Sprint | Blue Ocean 1.4 - beta 2, Pipeline - December [ 426, 446 ] | Blue Ocean 1.4 - beta 2, Pipeline - March 2018 [ 426, 506 ] |
Sprint | Blue Ocean 1.4 - beta 2, Pipeline - March 2018 [ 426, 506 ] | Pipeline - Candidates, Blue Ocean 1.4 - beta 2 [ 381, 426 ] |
Sprint | Pipeline - Candidates, Blue Ocean 1.4 - beta 2 [ 381, 426 ] | Blue Ocean 1.4 - beta 2 [ 426 ] |
Rank | Ranked higher |
Assignee | rsandell [ rsandell ] | Liam Newman [ bitwiseman ] |
Link |
This issue is duplicated by |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Comment |
[ [~silverorange] Please take a look at https://issues.jenkins-ci.org/browse/JENKINS-57195. If that looks like your issue, please try upgrading again, then close and reopen the PR that is failing. This is not a fix - but it will give me more information for debugging. It would also be useful to have a full stack trace for that failure. ] |
Link |
This issue causes |
Link |
This issue is related to |
Status | Resolved [ 5 ] | Closed [ 6 ] |
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.