slanted W3C logo
wispy clouds in a blue sky

Using Jenkins To Automate Building, Testing And Deployment Of New Code

Robert Harker <harker@harker.com>

Silicon Valley Linux Technology
December 2, 2015

The slides are available at: http://harker.com/Talks/JenkinsCI/
Valid CSS! Valid XHTML 1.0 Strict Creative Commons License
Using Jenkins To Automate Building, Testing And Deployment Of New Cod by Robert Harker is licensed under a Creative Commons Attribution 3.0 Unported License.

Hit the space bar or swipe left for next slide

whoami: Robert Harker

Linux Systems Administrator/DevOps Engineer.

Open Data Evangelist.

Caution: I am a Linux ops guy not a PHP programmer.

Please make an accommodation to my severe allergic reaction to Power Point

Slides prepared using vi and W3C Slidy,
A presentation system/template implemented in 6 file CSS styles sheets and one Java script.

Continuous Integration and Agile Development

Continuous Integration

Using automation to dynamically rebuild and validate code each time a change is made

Automation is key:

Agile Development

Releasing early and often

People can generally clearly remember changes in the last 2-3 weeks

What is jenkins?

Orchestration tool:

Jenkins is a comprehensive CI framework

Jobs and Builds

Defines job:

Automatically build job:

Installing Jenkins

Linux:

Follow instructions on:

Hints:

Windows:
Mac:

Left as an exercise to the user

Start Jenkins Java process

Jenkins Overview

Dashboard:

Manage Jenkins

Secure Jenkins

Caution: once you have started jenkins for the first time you are in a security window

First step is to secure jenkins

Create your own account

In the upper right corner you should see: Select and create your own account Login with this new account Disable "Allow users to sign up": Disable: Save You have closed security window New users can be added with:

Manage Plugins

Install GitHub plugin

GitHub plugin installs:

Notice jenkins shows status of installation

Add Credentials

Manage Credentials

SSH Username with private key

Add your jenkins private key

Add Job

Job configuration

./build.sh
./package.sh

Jenkins Job 2

Jenkins Job 3

Jenkins Job 4

Discussion:

Questions?



Thank You

Thank Yous:

view source

Robert Harker
<harker@harker.com>