Skip to content

RENDEZVOUS

Explore-Share-Contribute

  • AI
  • Agile
  • Atlassian
  • Automation
  • CloudOps
  • DevOps
  • IAC
  • VSM
  • Toggle search form

About Jenkins Pipeline – Chapter 3

Posted on October 16, 2019October 22, 2019 By Ranjana Jindal

In our Chapter 2, we discussed steps on how to administer Jenkins (click here to read it again) and in this chapter – we will focus on creating jobs through “Jenkins Pipeline“.

So, what is this Jenkins Pipeline – ever used it ? It is actually a group of jobs interlinked with each other in a sequence, thus implementing and continuously delivering applications/products (key phases include build, deploy, test and release). And this led to the concept of “Pipeline as a Code“.

Lets first understand the basic concepts associated with a “Pipeline”-

  1. Pipeline: user defined block that contains all the stages
  2. Node: a machine that executes a complete flow
  3. Agent: instructs Jenkins to allocate an executor for the builds
  4. Stage: contains series of steps
  5. Step: single task that executes a specific process at a defined time

To build such a pipeline, a “Jenkinsfile” is created and stored in a source code repository. It enables developers to access, edit and check code at all times. A Jenkinsfile is written in two ways:

Declarative Pipeline: leverages Groovy scripting, the file is stored in SCM tool and the code is defined within a pipeline block.

Scripted Pipeline: this file is written in Jenkins UI instance and is written in a traditional way within a node block.

Now lets look into how to install this pipeline feature in Jenkins-

Step 1 -> Login into Jenkins

Step 2 -> Click on ‘Manage Jenkins’

Step 3 -> Search for the ‘Pipeline’ option and install the plugin

Wasn’t that easy!! I am sure most of us are using this feature and have found it useful.

Watch out for the next chapter on how to create a simple pipeline!!

Click here to read Chapter 4

Technical Documentation Tags:@pipeline as code;, #install jenkins plugin;, #jenkins agent;, #jenkins node;, #jenkins pipeline;, #pipeline;, #ramz, #ramz#rendezvous;

Post navigation

Previous Post: AWS Cloud Automation with Python and Boto3 – Part 2
Next Post: Create Jenkins Pipeline – Chapter 4

Related Posts

MySQL Data in Grafana Technical Documentation
Getting started with ChatGPT – My first conversation !! Artificial Intelligence
Authoring infra-as-code with Azure Bicep – Chapter 4 Automation
Jira Scrum Boards -Chapter 12 Technical Documentation
Agile Ops Series Agile
Create Jenkins Pipeline – Chapter 4 Technical Documentation

Copyright © 2025 RENDEZVOUS.

Powered by PressBook Grid Dark theme