auto-comment on GitHub issue during deploy triggered by commit

12 views
Skip to first unread message

Florin Andrei

unread,
Dec 15, 2015, 2:41:08 PM12/15/15
to Jenkins Users
I have a system where deploys are triggered by commits to GitHub. Jenkins is polling the SCM (GitHub) every minute and, when there's a new commit, a build/deploy is triggered. Pretty standard.

Now let's say in the comment associated with the commit there's a URL. If that URL points to a GitHub issue (https://github.com/[path]/issues/[number]), I want Jenkins to go into the issue and add a comment at the end, saying "deployed at YYYYMMDDHHmm" or something like that.

Is there a more direct way to do this from Jenkins without too much external scripting? Or how would you do this?

Victor Martinez

unread,
Dec 15, 2015, 5:10:00 PM12/15/15
to Jenkins Users
Hi,

 That's an interesting feature, I've been using the GitHub Pull Request plugin in order to build any PR and comment them accordingly, but for some reason I've not found a similar Jira Issue Update plugin for GitHub, I just googled a bit and I've found the below post:


Cheers
Reply all
Reply to author
Forward
0 new messages