0% found this document useful (0 votes)
110 views

What Is A Build 1547351531

A build is the result of executing a project in Jenkins. It involves checking for source code changes, cleaning out previous builds, building the code, running tests, checking if the build passed or failed, providing feedback, and producing the build artifacts if it passed. Build steps are individual tasks that make up a project. Build triggers determine when a new pipeline run or build starts based on certain criteria like source code changes. Artifacts are immutable files generated during builds that are stored in repositories for later retrieval. Common build tools used in Jenkins include Maven, Ant, and shell scripts.

Uploaded by

anil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views

What Is A Build 1547351531

A build is the result of executing a project in Jenkins. It involves checking for source code changes, cleaning out previous builds, building the code, running tests, checking if the build passed or failed, providing feedback, and producing the build artifacts if it passed. Build steps are individual tasks that make up a project. Build triggers determine when a new pipeline run or build starts based on certain criteria like source code changes. Artifacts are immutable files generated during builds that are stored in repositories for later retrieval. Common build tools used in Jenkins include Maven, Ant, and shell scripts.

Uploaded by

anil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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