2

I have a multibranch pipeline job for deploying an application in IIS. Because of it, I cannot run the job (that deploys a new version of the application) when new branches are discovered.

I need to configure the trigger only to discover new branches and do not trigger the job.

flaviomeira10
  • 566
  • 11
  • 24

1 Answers1

3

In your Branch Sources section you can add a Property named Suppress automatic SCM triggering.

This prevents Jenkins from building everything with an Jenkinsfile.

More Info

user_9090
  • 1,884
  • 11
  • 28
  • Jenkins was not showing this option to me. I discovered that the plugin basic-branch-build-strategies hides this option. So I disabled the basic-branch-build-strategies and the option appeared. This was exactly what I needed... thanks for answering. – flaviomeira10 Oct 08 '19 at 01:52