When my jenkins server is restarted, all my pipelines and branches are triggered for build. How can i stop this?

Hi,

The problem I’m encountering is that when I restart my Jenkins server, it initiates builds for all branches in my pipeline.

How can I prevent this behavior? My setup involves a multi-branch pipeline.

Hello and welcome to this community, @jones. :wave:

I believe that in Jenkins, this could occur if the option “Build whenever a SNAPSHOT dependency is built” is enabled, or if the option “Periodically if not otherwise run” is set in the Scan Multibranch Pipeline Triggers section.

Is that the case for you?