API to determine for a Github repository and branch name if it contains a Jenkinsfile

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Use case

      • When the user clicks on a repository in the list
        • Jenkinsfile is present they will go to the executing Pipeline
        • Jenkinsfile is not present they will segue to the Editor

      Notes
      On click we can use https://developer.github.com/v3/repos/contents/ to determine if there is a Jenkinsfile there or not.
      Bitbucket have this too https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/downloads/%7Bfilename%7D

      Request

            Assignee:
            Unassigned
            Reporter:
            James Dumay
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: