Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Proper configuring of Multibranch Pipeline in Jenkins

How do I properly configure a Multibranch Pipeline in Jenkins when Git is selected as branch source? I get a "Does not meet criteria" for every branch that is checked in the branch indexing log.

like image 488
heydy Avatar asked Jul 13 '16 07:07

heydy


1 Answers

This Multibranch Pipeline job will create a pipeline job if your Git branch contains a Jenkinsfile.

This Jenkinsfile describe how to build the current branch (Jenkins Groovy DSL).

If your branch doesn't contain a Jenkinsfile, then you will get this "does not meet criteria" message.

More information about the Multibranch pipeline here.

like image 77
Bruno Lavit Avatar answered Nov 17 '22 11:11

Bruno Lavit