1
votes

I am using Jenkins Multi - pipeline project to deploy multiple projects with the same template script . And each project runs on a SCM trigger after branch indexing. I need make an exception for a particular branch that it triggers with two types of reasons 1. with SCM trigger 2. Periodic Trigger

How can i achieve it without a change in the branch that has the jenkins file

1

1 Answers

1
votes

You could run a cron job external to Jenkins that triggers "build now" on a particular branch, using the same link for "build now" that you would use in the web UI.