Show current state of Jenkins build on GitHub repo

前端 未结 12 1598
遥遥无期
遥遥无期 2020-11-28 17:34

Is there a way to show the Jenkins build status on my project\'s GitHub Readme.md?

I use Jenkins to run continuous integration builds. After each commit it ensures

12条回答
  •  [愿得一人]
    2020-11-28 18:07

    The Commit Status API allows you to see the "Repo Statuses API".

    And since April 26th 2013, you now can see the build status on your GitHub repo branch page:

    build status on GitHub repo branches

    That means it is another way, by visiting the GitHub project page, to see those statuses instead of having only Jenkins.

    Starting April 30th, 2013, the API endpoint for commit statuses has been extended to allow branch and tag names, as well as commit SHAs.

提交回复
热议问题