Jenkins is an open-source automation tool to create a continuous integration pipeline. It is used to building and testing your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. It integrates all the software development lifecycle stages such as build, test, run and deploy. All that happens by running a single file called “Jenkinsfile”. Jenkinsfile is a file in which we define all the steps or we can say the definition of Jenkins pipeline is defined inside the Jenkinsfile and is checked into source control.
There are two type of pipeline you can create
In this blog we gone a see all about declarative pipeline and is syntactically easy than Scripted pipeline.
For your referance you can use my code with Jenkinsfile Here….
2. Click on New Item
3. “Enter an item name” and select “Pipeline” -> Click on ok.
4. A page opens. In this you will see the following blocks
#jenkins #scala #cd #ci #pipeline