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

          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.

          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 added a comment -

          moving it to in-progress for you then.

          Patrick Wolf added a comment - moving it to in-progress for you then.

          2.0.0-beta-1

          Stephen Connolly added a comment - 2.0.0-beta-1

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

              Created:
              Updated:
              Resolved: