Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If we leave the field "Branch Options" with the parameter "Build all" - it will build from all branches.

  • If we leave the field "Branch Options" with the parameter "Build from" - master - it will trigger to build.

  • Jenkins from the master branch, same with develop.

After that, we wonder There are two ways how to limit the trigger to be triggered only from 2 branches, for example:

  • master, develop

  • master develop

  • origin/master, origin/develop

There are two ways to achieve that:

  1. Select “Build from“ and enter branch names separated by white space: "master develop"

  2. Select “Build RegExp“ and enter regexp based expression: "master|develop"