Anatomy of a Jenkinsfile – Tutorial

Why should you use a Jenkinsfile? The biggest advantage of a Jenkinsfile is the ability to use version control to manage your build system. When you use freestyle jobs you can loose you configuration due to limit history depth. Descriptive vs Scripted Jenkinsfiles come in two flavours: Declarative pipelines always begin with the word pipeline…