Runnable demo that goes with a presentation I gave called "Hudson/Jenkins: Beginner to Expert"
Groovy Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
src/test/java
.gitignore
README.md
build.gradle

README.md

# 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