Top Banner
Introduction to Continuous Integration with Jenkins Eric Hogue @ehogue erichogue.ca True North <?PHP?> November 2 2012
48

Introduction to ci with jenkins

May 25, 2015

Download

Technology

Eric Hogue

Presentation on Continuous Integration I gave at the True North PHP conference on November 2 2012.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to ci with jenkins

Introduction to Continuous Integration

with JenkinsEric Hogue

@ehogueerichogue.ca

True North <?PHP?>November 2 2012

Page 2: Introduction to ci with jenkins

Fear

Page 3: Introduction to ci with jenkins

Doubt

Page 4: Introduction to ci with jenkins

Continuous

Integration

Page 5: Introduction to ci with jenkins
Page 6: Introduction to ci with jenkins

Chuck Norris

Plugin

Page 7: Introduction to ci with jenkins

Installation

Page 8: Introduction to ci with jenkins

Tools

Page 9: Introduction to ci with jenkins

PHPUnit

Page 10: Introduction to ci with jenkins

Expectatio

ns

Page 11: Introduction to ci with jenkins

Test Result

Trend

Page 12: Introduction to ci with jenkins

Coverage Summary

Page 13: Introduction to ci with jenkins

Coverage HTML

Page 14: Introduction to ci with jenkins

Line By Line

Coverage

Page 15: Introduction to ci with jenkins

PHP Code Sniffer

Page 16: Introduction to ci with jenkins

PHPCS

Details

Page 17: Introduction to ci with jenkins

phpcs details

PHP M

ess

Detec

tor

Page 18: Introduction to ci with jenkins

PMD Results

Page 19: Introduction to ci with jenkins

PHP Depend

Page 20: Introduction to ci with jenkins

Classes

Page 21: Introduction to ci with jenkins

Abstraction

Page 22: Introduction to ci with jenkins

Coupling

Page 23: Introduction to ci with jenkins

Instability

Page 24: Introduction to ci with jenkins

Overview Pyramid

Page 25: Introduction to ci with jenkins

Overview Pyramid

Inheritance

Page 26: Introduction to ci with jenkins

Overview Pyramid

Size and Complexity

Page 27: Introduction to ci with jenkins

Overview Pyramid

Size and Complexity

Cyclo / LOC77 / 295

Page 28: Introduction to ci with jenkins

Overview Pyramid

Coupling

Page 29: Introduction to ci with jenkins

More Tools

Page 30: Introduction to ci with jenkins

Connecting

The Pieces

Page 31: Introduction to ci with jenkins

Build

Page 32: Introduction to ci with jenkins

Jenkins

Page 33: Introduction to ci with jenkins

Plugins

● Git

Page 34: Introduction to ci with jenkins

Plugins

● Git● xUnit

Page 35: Introduction to ci with jenkins

Plugins

● Git● xUnit● Clover PHP

Page 36: Introduction to ci with jenkins

Plugins

● Git● xUnit● Clover PHP● Checkstyle

Page 37: Introduction to ci with jenkins

Plugins

● Git● xUnit● Clover PHP● Checkstyle● PMD

Page 38: Introduction to ci with jenkins

Plugins

● Git● xUnit● Clover PHP● Checkstyle● PMD● JDepend

Page 39: Introduction to ci with jenkins

Template Project

http://jenkins-php.org/

Page 40: Introduction to ci with jenkins

Other Uses

Page 41: Introduction to ci with jenkins

Benefits

Page 42: Introduction to ci with jenkins

Quick Feedback

Page 43: Introduction to ci with jenkins

Automation

Page 44: Introduction to ci with jenkins

Metrics

Page 45: Introduction to ci with jenkins

Fear

Page 46: Introduction to ci with jenkins

Confidence

Page 47: Introduction to ci with jenkins
Page 48: Introduction to ci with jenkins

Please rate this talk: https://joind.in/7399

Slides: http://www.slideshare.net/EricHogue

The code: https://github.

com/EricHogue/CIPresentationTwitter:

@ehogueBlog:

http://erichogue.ca/

Links