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
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.

Regards,
Shambhu.
Reply all
Reply to author
Forward
0 new messages