Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.