Reputation: 3668
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
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