Avoid activation of github webhook for pipeline shared library in the application job

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Avoid activation of github webhook for pipeline shared library in the application job

Evgenii Pomnikov
Hi!

We call pipeline shared libraries in our Jenkinsfile via standard clause: "@Library('pipeline-library') _" and noticed that github plugin automatically activates webhooks for shared library repository as well as for application one. We don't need to have webhook for shared library in the application job, so is there any way to activate webhooks automatically for application repository only in pipeline job?

Looking forward for your answer.
Have a nice day!
---

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/05f599b7-1729-48cb-9e6d-6e78583131ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Avoid activation of github webhook for pipeline shared library in the application job

Cuong Tran
I haven't tried this yet but can you add the "Don't trigger a build on commit notifications" in the scm configuration of the library definition?

On Saturday, March 18, 2017 at 6:42:31 PM UTC-7, Evgenii Pomnikov wrote:
Hi!

We call pipeline shared libraries in our Jenkinsfile via standard clause: "@Library('pipeline-library') _" and noticed that github plugin automatically activates webhooks for shared library repository as well as for application one. We don't need to have webhook for shared library in the application job, so is there any way to activate webhooks automatically for application repository only in pipeline job?

Looking forward for your answer.
Have a nice day!
---

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4f2d2394-97b4-4e0d-ac4b-7f52d038e2ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...