1. Pipeline DSL¶
1.1. Jenkinsfile¶
Pipeline model definition
Add
Jenkinsfile
to the repository main folderBundled with Blue Ocean
declarative-linter
validate before running jobThe first line of a Jenkinsfile should be #!/usr/bin/env groovy
Automatically create Pipelines for all Branches and Pull Requests
Code review/iteration on the Pipeline
Audit trail for the Pipeline
Single source of truth for the Pipeline, which can be viewed and edited by multiple members of the project.