Issue
I've already made Jenkins
test the pull request
and post the result( success or fail ) like this.
Developers can click the Details button, and it will open jenkin's
page to display the error messages.
However, I want to directly display the error message on the github instead of check on the jenkin's page.
Is there any way to achieve that?
If I need to tell more information, please let me know.
Update
I add Github PR post comment
in Post build task like this. The column of Content
is default, I'm not sure it's correct or not.
But I didn't see the comment after the jenkins
retest, did I set the configuration wrongly?
Solution
Finally, I choose to post error message directly at comment via python
and Github API
And I used this script https://gist.github.com/rmcgibbo/3433798, it's really useful.
Answered By - Coda Chang