Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43194

Lightweight checkout for PR merge jobs

    XMLWordPrintable

Details

    • 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

          Activity

            maxpowa Max Gurela created issue -
            maxpowa Max Gurela made changes -
            Field Original Value New Value
            Summary Optimize Jenkinsfile loading Optimize Jenkinsfile loading (github multibranch source)
            maxpowa Max Gurela made changes -
            Link This issue is related to JENKINS-33273 [ JENKINS-33273 ]
            seadub Chris Williams made changes -
            Link This issue relates to JENKINS-44729 [ JENKINS-44729 ]
            jglick Jesse Glick made changes -
            Summary Optimize Jenkinsfile loading (github multibranch source) Lightweight checkout for PR merge jobs
            michaelneale Michael Neale made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            jamesdumay James Dumay made changes -
            Labels multibranch pipeline cloudbees-internal-pipeline multibranch pipeline
            michaelneale Michael Neale made changes -
            Component/s blueocean-plugin [ 21481 ]
            michaelneale Michael Neale made changes -
            Sprint Blue Ocean 1.4 - beta 2 [ 426 ]
            jamesdumay James Dumay made changes -
            Assignee Vivek Pandey [ vivek ]
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.4 - beta 2 [ 426 ] Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2 [ 416, 426 ]
            jamesdumay James Dumay made changes -
            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 ]
            jamesdumay James Dumay made changes -
            Rank Ranked lower
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CD-341 (Web Link)" [ 18973 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "workflow-multibranch PR 69 (Web Link)" [ 19420 ]
            rsandell rsandell made changes -
            Assignee Vivek Pandey [ vivek ] rsandell [ rsandell ]
            vivek Vivek Pandey made changes -
            Sprint Blue Ocean 1.4 - beta 2, Pipeline - December [ 426, 446 ] Blue Ocean 1.4 - beta 2, Pipeline - March 2018 [ 426, 506 ]
            vivek Vivek Pandey made changes -
            Sprint Blue Ocean 1.4 - beta 2, Pipeline - March 2018 [ 426, 506 ] Pipeline - Candidates, Blue Ocean 1.4 - beta 2 [ 381, 426 ]
            vivek Vivek Pandey made changes -
            Sprint Pipeline - Candidates, Blue Ocean 1.4 - beta 2 [ 381, 426 ] Blue Ocean 1.4 - beta 2 [ 426 ]
            vivek Vivek Pandey made changes -
            Rank Ranked higher
            bitwiseman Liam Newman made changes -
            Assignee rsandell [ rsandell ] Liam Newman [ bitwiseman ]
            abayer Andrew Bayer made changes -
            Link This issue is duplicated by JENKINS-53988 [ JENKINS-53988 ]
            vivek Vivek Pandey made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            vivek Vivek Pandey made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            bitwiseman Liam Newman made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            bitwiseman Liam Newman made changes -
            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.
            ]
            bitwiseman Liam Newman made changes -
            Link This issue causes JENKINS-57257 [ JENKINS-57257 ]
            bitwiseman Liam Newman made changes -
            Link This issue is related to JENKINS-50937 [ JENKINS-50937 ]
            bitwiseman Liam Newman made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              bitwiseman Liam Newman
              maxpowa Max Gurela
              Votes:
              11 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: