On Saturday, August 4, 2018 at 1:36:39 AM UTC+5:30, jsake...@gmail.com 
wrote:
>
> I want to use only pullrequestevent, so when a pull request is merged, it 
> should run a script or hook, which would do all the checks like
> if a pull request is merged or not / if teh branch is release or not etc.
> if teh condition satisfies, it shoud run the jenkins job
>

Pick and choose the events to be sent over from GH to Jenkins. For the rest 
of the checks, you can write Groovy scripts.

If you need help, refer to doc on shared libraries -- with that, your 
Groovy code can scale and serve multiple projects, if they all follow the 
same workflow as you outlined.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0885bb3e-df21-4ffc-b23d-9dd483d30cd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to