pmazak / jenkins-demo

Runnable demo that goes with a presentation I gave called "Hudson/Jenkins: Beginner to Expert"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# Jenkins Demo Runs Jenkins on Jetty. Requires Gradle.

First time only

1.  gradle jenkins
(After server is up, stop the server.)

2.  gradle installPlugins jenkins

(While server is up, from a separate console run the following.)
3.  gradle createJob

Optional

gradle commitabunch  (Use as often as you like to see code changes between builds.)

Presentation

Get the slide deck from SkyDrive.


Outline Notes

Beginner

Hudson vs Jenkins

Install

Config

Reporting plugins

  • Junit configure: gradle test, **/test-results/*.xml, failing test will fail build
  • Pmd
  • Crap4j

Basic Plugins

  • Text-finder configure: "Revision", search console, mark build Unstable.
  • Install Git, Groovy Postbuild, Promoted Builds, Email-ext, Template Project, Pipelines

Intermediate

  • Email
  • Scp plugin
  • SVenton
  • Templates-New job from job
  • Templates-Project extension (mvn and regular, can mix 'n match)
  • Promote builds
  • Schedule all sorts of tasks:
  • Backup its own config
  • Ruby environment tests
  • Tech debt
  • Cucumber tests

Expert

About

Runnable demo that goes with a presentation I gave called "Hudson/Jenkins: Beginner to Expert"


Languages

Language:Groovy 91.9%Language:Java 8.1%