How To Create Pipeline In Jenkins

How To Create Pipeline For Maven Project This is a plugins which supports implementation & integrated continuous delivery of pipelines in Jenkins. It also an extensible set of tools for modelling simple to complex delivery pipeline as code.

Check Out : Create a job in jenkins

Let’s Create a Piepline in Jenkins,

I have already created job here in Jenkins for Compile, Test & Packaging the code using Maven Plugins for java project.

                                                                              Figure :1

You have to create build pipeline in which you will assign these all jobs. I have a created with “Building Pipeline”.

The first pipeline, I created for Test_compile,

Check Out : Install Jenkins

Now come to the first figure 1 and click on Testing_compile & where you will have to click on configure.

After click on configure, Now come to the post build actions , choose “build other project

Check Out : Update Jenkins Version In Linux

Now here you have to choose “testing_test” which was your job name in figure 1 as after running “ testing_compile” in pipeline it will start running the “testing_test”.and so on.

As you can see “testing_test” has been become the downstream for “testing_compile” & you have to repeat these steps for other job which is shown in first figure 1.

I’m skipping these steps, at the end the pipeline will show like this.

Check Out : How To Install Maven In Jenkins Using Plugin

Once Compile get finished. This will go to the test then package.

YouTube Link :  Create Pipeline

That’s it.

Leave a Reply

Notify of