Jenkins Tutorial For Beginners – Getting Started Guide

Jenkins is the widely adopted open source continuous integration tool. A lot has changed in Jenkins 2.0 when compared to the older version. In this Jenkins tutorial series, we will try to cover all the important topics for a beginner to get started with Jenkins.

Jenkins is not just a Continuous Integration tool anymore. It is a Continuous Integration and Continuous delivery tool. You can orchestrate your application deployments using Jenkins in a better way.

Following are the key things in Jenkins 2.X.

1. Pipeline as Code
2. Shared Libraries
2. Better UI and UX
3. Improvement in security and plugins


ONLINE COURSE: Getting Started With Jenkins 2

jenkins on kubernetesThis course teaches you the latest Jenkins pipeline as code from scratch with all its functionalities to take your code from development to production.

  • Learn to setup Jenkins 2 and administer it.
  • Crete build pipelines with pipeline as code
  • Continuous Integration with Jenkins 2
  • End to End deployment strategies from development to production.

Note: You can get 10 days free access using free trial


Pipeline as Code

Jenkins 2.0 has introduced a DSL by which by which you can version your build, test, deploy pipelines as a code. Pipeline code is wrapped around groovy script which is easy to write and manage. An example pipeline code is shown below.

Using pipeline as a code you can run parallel builds on a single job on different slaves. Also, you have good programmatic control over how and what each Jenkins job should do.

READ  How to Install and configure Sonarqube on Linux (RHEL/Centos/ec2)

Jenkins Shared Libraries

Jenkins shared library is a great way to reuse the pipeline code. You can create libraries of your CI/CD code which can be referenced in your pipeline script. The extended shared libraries will allow you to write custom groovy code for more flexibility.

Better UI and UX

Jenkins 2.0 has a better User interface. The pipeline design is also great in which the whole flow is visualized. Now you can configure the user, password, and plugins right from the moment you start the Jenkins instance through awesome UI.

Also, Jenkins Blueocean is a great plugin which gives a great view for pipeline jobs. You can even create a pipeline using the blue ocean visual pipeline editor. Blueocen looks like the following.

Jenkins blue ocean

Jenkins Tutorial For Beginners

We will be covering all the important topics in Jenkins 2 in this tutorial series which will get you started with the new core components.

Following is the list to get started with.

1. Installing and configuring Jenkins 2.0

2. Setting up a distributed Jenkins architecture (Master and slaves)

3. Backing up Jenkins Data and Configurations

3. Configuring Docker Containers as Build Slaves

4. Configuring ECS as Build Slave For Jenkins

5. Setting up Custom UI for Jenkins

6. Running Jenkins on port 80

Free DevOps Resources

Get DevOps news, tutorials and resources in your inbox. A perfect way If you want to get started with devops. Like you, we dont like spam.

Leave a Reply

Your email address will not be published. Required fields are marked *