Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trigger a pipeline jenkins job by commits from multiple repositories

I have a pipeline (jenkins) job, which uses multiple repositories.

The repositories are checkout out like this:

checkout([$class: 'GitSCM', ...])

Now I want to trigger the job when a commit is done to any of the repositories. How can I configure this?

like image 648
Nathan Avatar asked Oct 29 '22 15:10

Nathan


1 Answers

I got around this by using a freestyle job that kicks off the pipeline. Have the multiple SCM plugin and than the freestyle job has the web hooks.

like image 162
Eddie Avatar answered Nov 09 '22 01:11

Eddie