tRuEsAtM
tRuEsAtM

Reputation: 3668

Getting Build Failure Error in Jenkins while trying to clone the private repo from GitHub

I am getting the following error while cloning the private GitHub repo in Jenkins.

Fetching origin... Pruning stale remotes... Getting remote branches... Checking branch master Does not meet criteria Done. Finished: SUCCESS

I have added SSH key to my repo in GitHub. What could be the cause of the error?

Upvotes: 2

Views: 60

Answers (1)

Ian Miller
Ian Miller

Reputation: 603

According to this post, you get the "Does not meet criteria" message when the branch does not have a Jenkinsfile. Does your branch master have a Jenkinsfile?

Upvotes: 1

Related Questions