Jenkins User Handbook:

Are you finding difficulty in remembering all the commands that you need in order to work with Jenkins?
Guys don’t worry if you are a beginner and have no idea about how Jenkins works, this Jenkins cheat sheet will give you a quick reference of the basics that you must know to get started.
Prepare yourself for the Top DevOps Interview Questions And Answers!

Watch this Jenkins Video

While at Intellipaat, we support our learners with a handy reference, that’s the reason we have created this Cheat sheet.
This cheat sheet is designed for the one who has already started learning about Jenkins but needs a handy reference sheet.
Download a printable PDF of this Cheat Sheet.
Jenkins Cheat Sheet

What is Jenkins?

Jenkins is a software which allows you to do the continuous integration on your application/software lifecycle. It gets installed on the server where the central build will take place. Now let’s understand its workflow.



To manage Jenkins, click on the “manage tab” from the left-hand side.

  • Configure system:

    • Can be used to manage paths to various tools to use in builds.
    • Jenkins dynamically adds the config fields after the plugins are installed.
  • Manage Plugins:

    • Plugins can be removed, updated and installed through manage plugin screen.
  • System info:

    • List all the current java properties and system environment variables.
    • System log- view Jenkins log in real time.
    • Script console- lets you run groovy scripts on the server.
    • Manage nodes- configure the number of builds you want.
    • Shutdown- click prepare to shutdown link to prevent any new builds from being started. After all current builds are finished, Jenkins will shut down cleanly.

Become Master of DevOps by going through this online DevOps training in London.

Unit testing

Provides a host of plugins for unit testing of other technologies such as MS Test for .net unit testing.
Testing unit in Jenkins

  • Step 1: Open the dashboard, choose an existing project and click configure.
  • Step 2: Browse towards add a build step and invoke Ant.
  • Step 3: Click on advanced.
  • Step 4: Enter the location of build.xml in the build file section.
  • Step 5: Click the Add post-build option and click on Publish Junit test result report.
  • Step 6: Ensure the report is in the folder of the project workspace. The “*.xml” basically tells Jenkins to pick up the result xml files which are produced by running of the Junit test cases. Click Save after done.
  • Step 7: Click on build and check logs to see if it is successful or not.

Go through the Best DevOps Course in New York to get clear understanding of DevOps.

Automated testing

  • It helps automate a part of the development process for continuous integration and with focus on continuous delivery.
  • Without automated testing you would have to carry forth some artifacts which are not viable. Hence use of software like selenium help run automated tests.
  • Let’s check an example for it:
    • Step 1: go to plugins and choose selenium plugins and click to install.
    • Step 2: go to configure system and select on selenium jar and save
    • Step 3: Go to dashboard and select the config option for the project at hand
    • Step 4: Click on add build step and choose Selenium HQ html Suite Run
    • Step 5: Add the required details and click on save, execute and build.
    • The test is executed, and a report is built.

Learn more about DevOps in this DevOps training in Sydney to get ahead in your career!


  • Jenkins comes with a feature to add email notifications to the build project
  • Go-to Manage Jenkins → Configure System. In the email notification space enter the require STMP server and use email suffixes.
  • Configure the recipients so that they would receive notification about broken or unstable builds
  • Notification plugins such as Tikal Knowledge allows job status notification for JSON and XML formats.
  • Options:
    • Format: either Json or XML types
    • Protocol: TCP, UDP or HTTP
    • Event: Job event that triggers the notification
    • URL: Destination to send notifications to.
    • Timeout: Default timeout 30ms

Code analysis

  • They provide utilities for static code analysis. Some tools are CheckStyle, FindBugs, PMD etc.
  • Provides details like:
    • Total warning in a job
    • Showing of new and fixed warning of a build
    • Trend reports showing warnings per build
    • Warnings per module, package or category
    • Detailed reports of found warnings.

Interested in becoming DevOps Expert? Click here to learn more in this DevOps Course in Toronto!

Automated deployment

There are plugins available to transfer build files to the server. E.g., deploy to container plugin, head to the manage plugins and install the respective plugins.

  • It takes the war ear file and deploys that to the running remote application build.
  • Go-to build and configure and click on ‘deploy to war/ear to container’.
  • In the war container section save details about the destination server and click save.

Server Maintenance

Let’s check few commands for Server Maintenance

  • Commands in Jenkins: (URLs)

    • http://localhost:8080/jenkins/exit − shutdown Jenkins
    • http://localhost:8080/jenkins/restart − restart Jenkins
    • http://localhost:8080/jenkins/reload − to reload the configuration
  • To backup Jenkins Home:

    • Go to configure system in manage Jenkins.
    • Select a partition that have most free space as Jenkins will start to fail if the drive becomes full.
    • Perform automated clean-up options to avoid this.

Interested in getting an industry-recognized certification in DevOps? Enroll in Intellipaat’s DevOps Course in Bangalore now!

Build Pipeline

Let’s check the steps for building pipeline:

  • First go-to manage plugin and install build pipeline plugin.
  • To see a build pipeline, click the (+) on the dashboard
  • Enter any name for the view and click on the view name and choose build pipeline view.
  • Accept the default settings and be sure to add the name of the project at hand.
  • A view of entire pipeline with statuses will be visible.

Manage Plugins

  • To uninstall plugins, go-to manage plugins and click on the installed tab and click on uninstall for the plugin. Ensure to restart Jenkins for changes to take effect
  • In Case of need to install an older version of the plugin, download from the site and click on Upload option to do it manually.


  • Ability to have secure config for different users in place.
  • Click on manage Jenkins and Configure global security
  • Set parameters in the enable security section
  • Add the users and go-to ‘manage users’ option to provide permissions
  • To set authorizations, go-to configure global security, and click on matrix-based security
  • Add and giver needed permissions to the user.

Now, you know the most important skill set of a DevOps Engineer. But, do you know, DevOps Engineers are among the highest paid professionals in the technology domain? so join DevOps training in Hyderabad!

Backup Plugin

  • The Backup plugin adds a new Backup manager item in the Manage Jenkins page.
  • This setting allows:
    • To tweak backup settings via setup
    • To backup Jenkins config
    • To restore config from a previous backup.
  • Alternatively, you can use SCM (sync config plugin) or ThinBackup for global and job configurations.

Remote Testing

Selenium tests can be run on remote slave machines via master slave and selenium suite plugin installation

  • Step 1: go-to master Jenkins server and manage nodes
  • Step 2: Click on configure for the slave machine
  • Step 3: put the launch method as ‘Launch slave agents via Java Web Start’
  • Step 4: open a browser instance of the master Jenkin on the slave machine, then manage nodes and select the DXBMEM30
  • Step 5: Scroll down and select the launch option and hit run
  • Step 6: Configure tests to run on the slave
  • Step 7: make sure the selenium part of the job is configured. Make sure that the Sample.html file and the selenium-server.jar

Get in touch with Intellipaat for a comprehensive DevOps Training and be a certified DevOps Engineer!

Download a Printable PDF of this Cheat Sheet

We have covered all the basics of Jenkins in this cheat sheet. If you want to start learning DevOps in depth then check out the Jenkins Training by Intellipaat.
You will also get 24*7 technical support to help you with any and all your queries, from the experts in the respective technologies here at intellipaat throughout the certification period. So, why wait? Check out the training program and enroll today!

Previous Next

Leave a Reply

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