Polling multiple SCMs in a pipeline

35 views
Skip to first unread message

rsomas...@netflix.com

unread,
May 26, 2022, 6:37:48 PM5/26/22
to Jenkins Users
Hi! 

I see the recommendation for replacing https://plugins.jenkins.io/multiple-scms/ is to use a pipeline with multiple checkout directives.

What would be the best way to trigger such a pipeline when any one of those SCMs has a change?

I suppose we could have a bunch of jobs that poll each of the SCMs and downstream the pipeline. I'm hoping there's a way that doesn't involve these lightweight jobs.

Thanks!

Rahul

Vincent Latombe

unread,
May 27, 2022, 2:27:13 AM5/27/22
to Jenkins Users
Hi,

Polling is an option of the checkout step in pipeline --  https://www.jenkins.io/doc/pipeline/steps/workflow-scm-step/ (end of page)

Vincent


--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/58d88a4d-1f96-45b5-85b6-0008fc232e75n%40googlegroups.com.

rsomas...@netflix.com

unread,
May 27, 2022, 12:38:22 PM5/27/22
to Jenkins Users
Awesome. Thanks!
Reply all
Reply to author
Forward
0 new messages