jenkinsjenkins-pipelinemultibranch-pipeline

Jenkins multibranch pipeline Scan without execution


Is it possible to Scan a Multibranch Pipeline to detect the branches with a Jenkinsfile, but without the pipeline execution?

My projects have different branches and I don't want that all the children pipelines branches with a Jenkinsfile to start to execute when I launch a build scan from the parent pipeline multibranch.


Solution

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

    This prevents Jenkins from building everything with an Jenkinsfile.