You are on page 1of 8

Certified Jenkins Engineer

Prep sheet
V1 7-2020

0
BY AMMETT
Certified Jenkins Engineer Recommended training
Exam prep sheet by Ammett 1) CloudBees University
2) CJE prep Course

Installation Wizard Master URL Manage Jenkins Page Plugins Folders Jobs
EXAM

What it is What it is What it is What it is What it is What it is Review documents


This is a GUI you get when This is the name for your master Allows you to configure Tools that add value to Jenkins This plugin allows users to They all refer to runnable tasks Installing jenkins
installing Jenkins using one of Jenkins server settings on your server experience an add functionality create "folders" to organize jobs that are controlled / monitored by Folders
the recommended methods Jenkins. Best practices
What you must know What you must know What you must know What you must know What you must know What you must know Video
 How to install  Default http://localhost:8080/  How to navigate to it.  Option to setup  How to create  How to create jobs Most out of Jenkins
 Post-Install setup wizard  Convention is  What options can you  How to Downgrade  What can be defines
 Plugins(suggested or select) http://yourhost.yourdomain/jen configure in this area  Locate plugins (see your plug-  What can be limited My experience
 Unlocking Jenkins kins/ ins)  Organization folders (Github All these topics are valid and
 Default location of admin  Options in first setup Organisations) will present themselves in
password  Install with a proxy the exam. They are basic so
Key Points Key Points Key Points Key Points Key Points play around in UI and get
You should be familiar with Know the default and how you can Straight forward and basic Spend some time exploring an  Credentials, views, jobs, acquainted.
installing and default task and name you own server experimenting with these a lot of shared libraries
options variation in the questions

Free Style Jobs Pipeline jobs Build Build Triggers Stage Parameter
EXAM
What it is What it is What it is What it is What it is What it is Review documents
Freestyle build jobs are Jenkins Pipeline (or simply Result of one run of a Triggers define what causes a A stage block defines a Build parameters can be used to Getting started with pipelines
general-purpose build jobs, "Pipeline" with a capital "P") is a Project. Typically, this stage jenkins job to start building. A conceptually distinct subset of store configuration options or Define parameters
which provides maximum suite of plugins, which supports of the Pipeline will be where criteria for triggering a new tasks performed through the data that should not live in source
flexibility. It can be used for implementing and source code is assembled, Pipeline run or Build. entire Pipeline code
any type of project. integrating continuous delivery compiled, or packaged.
pipelines into Jenkins.
What you should know What you should know What you should know What you should know What you should know What you should know My experience
 No additional plugins  Types of pipeline 1- How to setup  What is a trigger  Know what it is  How to configure in GUI You will get question of
necessary  DSL 2- Build types (stable,  How to configure downstream  Learn to read stage format  How to configure CLI (–p Key) Jobs, pipeline, triggers and
 The section UI what you can  How to setup unstable) builds and trigger the options  In DSL can be applied at pipeline parameters. Be familiar if
do (e.g to run batch and  Pipelines support these: Code, 3- Where does builds take block or each stage you can’t figure these out
shell commands) Durable, Pausable, versatile, place (directory)
don’t do the exam
Extensible 4- Building public cloud
advantages
Key Points Key Points
Read Pipeline Best Practices Parameterized builds 1- How it works and benefits
-Advantages of pipelines over 2- Parameter with no default value
Freestyle behaviour

1
BY AMMETT
CI CD CDE Artifact Fingerprints Binary reuse
Continuous Integration Continuous Delivery Continuous Deployment EXAM

What it is What it is What it is What it is What it is What it is Review documents


Allow developer to continual The ability to deloy jobs at any Allows automatic An immutable file generated Jenkins supports file Basically reusing an artifact Fingerprints
commit time. deployment to production during a Build or Pipeline run fingerprinting to track across a pipeline archiveArtifacts
which is archived onto the dependencies. Copy Artifacts
Jenkins Master for later retrieval
by users.
Video
What you must know What you must know What you must know What you must know What you must know What you must know
Versioning Build Artifacts
 What it is  Difference from Continuous  What it is  How to influence number  What they do and purpose  Same source
 Difference from Continuous Integration  Difference from  Know where they are save by (tracking etc)  Shorter time (don’t have to
Delivery Continuous Integration default  Where they are stored rebuild the artifact) My experience
 Difference from Continuous You should know the
 Difference from Continuous Deployment  Difference from Continuous  Best way to store artifiacts  Control versions
Deployment Delivery  archiveArtifacts() arguments  Know the benefits differences between CI, CD,
 Best practices CDE, building, storing,
 Best practices
Key Points Key Points Key Points tracking, controlling artifacts
Fundamental have a clear idea Fundamental have a clear idea in Fundamental have a clear will pick you up a point of 4.
in your mind what it is your mind what it is idea in your mind what it is

Declarative pipelines When conditionals Post section Global Pipeline Scripted Pipelines Shared libraries
Declarative pipelines Declarative pipelines EXAM
What it is What it is What it is What it is What it is What it is Main difference between jobs
In Declarative Pipeline syntax, The when directive allows the The post section defines Sharable libraries available for In Scripted Pipeline syntax, one A Shared Library is defined with a Pipelines with plugins
the pipeline block defines all Pipeline to determine whether the one or more additional steps any Pipeline jobs running on the or more node blocks do the core name, a source code retrieval Pipeline syntax
the work done throughout your stage should be executed that are run upon the system. These are trusted. work throughout the entire method such as by SCM, and Shared Libraries
entire Pipeline. depending on the given condition. completion of a Pipeline’s. Pipeline optionally a default version. Video
The when directive must contain Declarative pipelines
at least one condition. Jenkins World DP
What you should know What you should know What you should know What you should know What you should know What you should know
 DSL,  What it does  Know the conditions  How to setup (Manage  Difference between scripted  Know the benefits My experience
 Difference between  The built-in conditions (branch, (always, changed, fixed, Jenkins, Configure System and declarative  Where it can be shared (Global, Pipelines & Declarative was
declarative and scripted not, expression, changeset, success, unstable, etc) option)  Written in a limited form of folder, Automatic) well featured from best
(important) buildingTag, changelog, etc)  Know the key factors  Where can script be saved(git, groovy  Folder SL are not trusted practices to scripts. Read on
 pipeline { github, subversion and legacy
multibranch pipeline also.
} SCM)
 @Library('my-shared-
Know recommended practices library@1.0')

Key Points Key Points Key Points


- Learn everything about these Read for when Post section conditions
important for exam

2
BY AMMETT
From Jenkins 2: Up and running Declarative Pipelines structure

3
BY AMMETT
Replaceable build nodes Gradle ANT Maven Groovy Notification
Continuous Delivery Continuous Deployment EXAM

What it is What it is What it is What it is What it is What it is Review documents


Node that can be replaced or Gradle is an open-source build Ant is a Java library and Maven is a software project Groovy is a powerful, optionally Alert send based on various Architecting for scale
rebuild automation tool focused on command-line tool whose management and typed and dynamic language actions completed.
flexibility and performance. Gradle mission is to drive processes comprehension tool. Maven Video
build scripts are written using described in build files as can manage a project's build. Configure email in Jenkins
a Groovy or Kotlin DSL targets and extension points
dependent upon each other.
My experience
What you must know What you must know What you must know What you must know What you must know
Notifications can come in a
 Note the benefits  Know it’s linkage to  Know it’s linkage to Jenkins  Syntax relative to DSL pipeline  Know where to go to set up
variety of way so get some
 How they assist the master Jenkins etc  Know action (Alert developer
 Configuration options who broke, everyone) good practice on options.
 Fungible agents  How to Configure server to send Understand scaling and build
email notifications nodes.
Key Points
How to set up email notification
and other types. Try a few
configurations

TDD GIT Master SCM Agent Kibana


Test driven Deployment Integrations EXAM
What it is What it is What it is What it is What it is What it is Scaling
Test-Driven Development The git plugin provides The central, coordinating Source code management Declarative Pipeline-specific Kibana is an open source data Git Hub Demo
(TDD) is a technique for fundamental git operations for process which stores (SCM) is used to track syntax that instructs Jenkins to visualization dashboard
building software that guides Jenkins projects. It can poll, fetch, configuration, loads plugins, modifications to a source code allocate an executor (on a node) for Elasticsearch. It provides
software development by checkout, branch, list, merge, tag, and renders the various user repository. and workspace for the entire visualization capabilities on top of
writing tests. and push repositories. interfaces for Jenkins Pipeline the content indexed on an
Elasticsearch cluster.
What you should know What you should know What you should know What you should know What you should know What you should know My experience
 Know what is TTD  Integration 1- Security implication  What it is  Syntax in DSL  General awareness Know the master setup,
 Know the steps in order  Options available 2- Impact on performance  How to use it  What it is optimization, security and
 Syntax design for high availability  Integration options  What it does hardware as you will get a
3- Share load  How does it notify other  Agent directives (any, none,
 GitHUB organizations question on it. SCM (Git,
source/destination checks system (webhook) label, node, docker, GITHUB etc) understand the
4- Minimum requirements  Know different types of dockerfile,kubernetes)
5- Calculate concurrent integration these questions
tools (git, github, gitlabs,
builds can be tricky.
Subversion, perforce)

Key Points Key Points Key Points Key Points


GIT plugin must read Read -Security implications- This is important how to Read agent directives
integrate and how it updates
-Hardware- and alerts

4
BY AMMETT
TDD Model
jlkkjlj

5
BY AMMETT
Non distributed build Junit xUnit Indicators Input step Secrets
security Continuous Delivery Continuous Deployment EXAM

What it is What it is What it is What it is What it is What it is Review documents


Non distributed build This provides a publisher that xUnit plugin is a viable Give you various messages in This step pauses Pipeline Secrets refer to authentication xUnit-pg 36
architecture all is run on the consumes XML test reports alternative that supports JUnit a graphical format execution and allows the user to credentials like passwords, API Using credentials
master generated during the builds. It and many other test result file interact and control the flow of the keys, tokens input step
provides some graphical formats build.
visualization of the historical
test. My experience
What you must know What you must know What you must know What you must know What you must know What you must know These topics are represented
 What is the security concern  Hot to configure (important)  Alternative to Junit  Meaning of indicators  How it works on the exam. Junit and xUnit
 What factors affect  What it reports  functionality  How are they  How to configure  How to manage secrets are similar. Building on the
performance  Valid input steps  Pass credentials master only is not
recommended in production.
Read Key Points Key Points Input may be necessary in
Implications Be familiar with them (cloudy, Read input steps Read Storing secrets some builds, know your UI
sunny, partial) indicator meanings.
Read Credentials

Security advisories Manage access Disable SetWizard Test masters HTTP Proxy Acceptance test
Test Instances EXAM
What it is What it is What it is What it is What it is What it is Test instances
A security advisory is a public Section in Jenkins for managing Can be used for automated A test master is a Jenkins An HTTP Proxy serves two Is a test conducted to determine Disable Setup Wizard
announcement with user etc deployments. master used solely for testing intermediary roles as an HTTP if the requirements of
information about security configurations and plugins in a Client and an HTTP Server for a specification or contract are met
issues, including workarounds non-production environment. security, management, and
and fixes caching functionality
What you should know What you should know What you should know What you should know What you should know What you should know My experience
 Where there available  1- Where it located  jenkins.install.runSetupWiza  What it does  How to configure HTTP proxy  Know what they are used for Security questions will be
 How are the announced 2- What actions can be done rd  Discovered problem with  How HTTP proxy work featured. Please get familiar
 Public google group in the area  How it works upgrades with various security
jenkinssci-advisiories  What it does and doesn’t do  Doesn’t break you functionality and how it is
environment handled/configured in
Jenkins
Key Points Key Points Key Points Key Points
Read security 1- What are the implications on If you log into an instance you Configure HTTP proxy
the master won’t see the public IP (these
can change)

6
BY AMMETT
Thanks for reviewing

Please visit the official certification outline HERE

CloudBee University HERE

ps. These are my notes and tips that helped me pass


the exam. I tried to keep them light and not too
comprehensive. The requirements may change as
technology evolves.

The knowledge is free it just cost me some time to put


together. So please share with your network who may
be interested in Jenkins.

Check out the Start Cloud Now platform with other


guides HERE

Bonne Journée

8
BY AMMETT

You might also like