This complete Jenkins Pipeline Tutorial will help you configure build pipeline for your own project using Jenkinsfile.

It demonstrates the below topics with examples:

  • What is Jenkinsfile?
  • From Scripted to Declarative Pipeline Syntax
  • Basic Structure of Jenkinsfile
  • Post Build Actions in Jenkinsfile
  • Define Conditionals / When expression
  • Using Environmental Variables in Jenkinsfile
  • Using Tools attribute for making build tools available
  • Using Parameters for a Parameterized Build
  • Using external Groovy scripts

Hope it is helpful 🙂

submitted by /u/Techworld_with_Nana
[link] [comments]