Github status per stage & Github PR comments

28 views
Skip to first unread message

Sebastien Arod

unread,
Aug 31, 2016, 7:14:53 AM8/31/16
to Jenkins Users
Hi,

I'm using Jenkins with JenkinsFile and Github Organization Folder and it works great out of the box so I must start with a big thank you.

However there is 2 things that I'm not able to achieve currently and I'd like to know if it is a lack of documentation or a missing feature:

1. Github status per stage instead of per build

I'd like to add several status per build instead of one to allow:
* Seeing stages progress from github
* Allow merging PR into master even if some optional stages failed or are not completed yet

Is there a way to configure Jenkins Github Organization Folder plugin to notify github with a status per stage instead of a status per build?
Alternatively is there a way to use the github api from the JenkinsFile to publish status? If so does anyone have examples/documentation of how this can be achieved?

2. PR comments from JenkinsFile

I would like to be able to publish custom comments in a github PR from the Jenkinsfile. That would be very useful to provide error summary and links to failure details.

Alternatively is there a way to use the github api from the JenkinsFile to publish comments? If so does anyone have examples/documentation of how this can be achieved?


Cheers,
-Seb
Reply all
Reply to author
Forward
0 new messages