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

PR branch checkout fails on 2.141, latest and 2.138 (may be others)

XMLWordPrintable

      [workspace] Running shell script
      + git checkout PR-74
      error: pathspec 'PR-74' did not match any file(s) known to git.

      Above is what I get when using multi-branch pipeline item pointing to a repo having a PR.
      I have tried using 2.138, 2.141 and latest jenkins:jenkins docker - all fail
      Thereafter, I tried with latest and 2.3.5 versions of github-branch-source - still fails with the above error.

      I believe the refs are not added properly for some reason. Possibly, a bug with github-branch-source plugin for PR.

            nsurana Nitin Surana
            nsurana Nitin Surana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: