What Is A Build 1547351531

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Certified Jenkins Engineer

Builds in Jenkins

Certified Jenkins Engineer


What Is a Build?

A build is the result of a single execution of a project

pull change integration pass

test feedback
Build
source branch commit

integration

Certified Jenkins Engineer


Build Steps

A single task within a project

pull change integration pass

feedback test
Build
source branch commit
integration

Certified Jenkins Engineer


Build Steps

A single task within a project

integration pass

test feedback
Build

integration

check SCM for changes; clean checkout; build code; perform testing; check pass fail; provide feedback; if pass produce build;

Certified Jenkins Engineer


Build Triggers

A criteria for starting a new pipeline run or build

integration pass

test feedback
Build
Trigger
integration
Trigger

check SCM for changes; clean checkout; build code; perform testing; check pass fail; provide feedback; if pass, produce build;

Certified Jenkins Engineer


Artifacts and Repositories

This refers to immutable files that are generated during a build or a pipeline
run. These are archived on the Jenkins master for later retrieval.

A single build can have multiple artifacts associated with it. These can
include jar files, war files, configuration files, and other generated assets.

Artifacts are maintained in a repository. This can be on the Jenkins master


or in a Source Control Manager (SCM).

Repositories hold items that need to be retrieved. These items can include
source code, compiled code artifacts and configuration files.

Certified Jenkins Engineer


Build Tools

This are the software that actually performs the build portion of the pipeline.

Build tools can include Maven, Ant, and shell scripting.

Configuration varies by build tool, but the processes are similar:

1. Start Jenkins and install 3. Create a Job / Pipeline that


required plugins. utilizes the build tool

2. Perform global 4. Update the tools configuration


configuration steps. files: POM, XML, .config etc.

Certified Jenkins Engineer


Certified Jenkins Engineer
Builds in Jenkins

Certified Jenkins Engineer

You might also like