Nathan
Nathan

Reputation: 7709

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?

Upvotes: 5

Views: 2444

Answers (1)

Eddie
Eddie

Reputation: 1161

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.

Upvotes: 2

Related Questions