Jenkins Continuous Integration

Published: Friday, 28 December 2012
Last modified: Monday, 1 September 2014

Jenkins is a free continuous integration server. In early 2011 Jenkins was created from a fork of Hudson.

There is a LTS (long-term support) release available, which is an older but stable branch. We recommend installing this version.

You can run Jenkins standalone or within a servlet container.

Builds can produce artifacts (e.g. zip or war files).

You can parameterise builds.

Plugins

Plugins are required and are updated separately. Refer to the Plugin wiki for more information.

If Jenkins doesn’t have access to the internet you can download and install them manually. You can find out which plugins have updates by visiting Jenkins → Manage Jenkins → Manage Plugins.

Copy Artifact Plugin - copyartifact

Useful for copying artifacts from another build. e.g. deploy job

Git Client Plugin - git-client

If your builds are missing the changelog in Jenkins, make sure you are using JGit instead of an external git executable.

Maven unit test failures

If want to fail a build (instead of marking it as unstable), then add:

-Dmaven.test.failure.ignore=false

to Build → Advanced… → MAVEN_OPTS in the configuration section of your job.


More Articles