Trigger a job with different "comment-added" GERRIT_EVENT
7 views
Skip to first unread message
Shambhu Sharma
unread,
Aug 5, 2016, 6:41:43 AM8/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
Hi,
I have a build script which builds for different build types. Now I want to build different build types in my build script based on GERRIT_EVENT "comment_added" value. E.g. If comment added is "TRIGGER_BUILD_TYPE1", then only "TYPE1" build would compile and if comment is "TRIGGER_BUILD_TYPE2", then only "TYPE2" build should compile. Please let me know how to get the comment added value in Jenkins so that script can be controlled.