What is a Jenkinsfile and where does it live?

BeginnerConceptJenkins
Answer

A Jenkinsfile is a text file that defines a Jenkins Pipeline in Groovy-based DSL. It lives in the root of the repository (by convention) and is picked up by Pipeline-from-SCM or multibranch jobs. Because it is versioned with the code, each branch can have its own pipeline.

All CI/CD questions

More on Jenkins