Jenkins having trouble finding JenkinsFile from SCM Jenkins having trouble finding JenkinsFile from SCM jenkins jenkins

Jenkins having trouble finding JenkinsFile from SCM


I think you named it wrong due to your mentioned filename in the question.

The script was searched in the root for your project and should be called Jenkinsfile instead of JenkinsFile.

So name the file correctly and move it into the root of your Repository.


For me, Docker was renaming my 'Jenkinsfile' to 'jenkinsfile' when cloning the repo into the docker container.

The solution was to change the location of the Jenkinsfile in jenkins pipeline settings to all lowercase 'jenkins'