Question - What is Jenkinsfile?
Answer -
Jenkinsfile contains the definition of a Jenkins pipeline and is checked into the source control repository. It is a text file.
- It allows code review and iteration on the pipeline.
- It permits an audit trail for the pipeline.
- There is a single source of truth for the pipeline, which can be viewed and edited.