While there is no general solution for Git, in the case of GitHub we may be able to use this.

          [JENKINS-33272] GitHub-specific SCMFileSystem

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-33273 [ JENKINS-33273 ]

          jglick I don't understand this issue. Currently we are using GitHub API to detect if Jenkinsfile exists in a branch or in a pull request.

          Manuel Recena Soto added a comment - jglick I don't understand this issue. Currently we are using GitHub API to detect if Jenkinsfile exists in a branch or in a pull request.

          Manuel Recena Soto added a comment - - edited

          jglick My english failed, I'm sorry. I understand the issue.

          Manuel Recena Soto added a comment - - edited jglick My english failed, I'm sorry. I understand the issue.
          Jesse Glick made changes -
          Epic Link New: JENKINS-35386 [ 171179 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 169167 ] New: JNJira + In-Review [ 183383 ]
          Patrick Wolf made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Stephen Connolly [ stephenconnolly ]

          Patrick Wolf added a comment -

          This is in progress, correct, stephenconnolly

          Patrick Wolf added a comment - This is in progress, correct, stephenconnolly

          Stephen Connolly added a comment - yup https://github.com/jenkinsci/github-branch-source-plugin/pull/93
          Patrick Wolf made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            stephenconnolly Stephen Connolly
            jglick Jesse Glick
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: