View Source

{info:title=New homepage}The Jobconfig plug-in is being maintained by its owner/maintainers from [a new home|https://wiki.jenkins-ci.org/display/JENKINS/JobConfigHistory+Plugin]. The plug-in is still compatible with Hudson, however, the entry points for documentation and [issue reporting|http://issues.jenkins-ci.org/] have been combined in order to provide a single point of entry.{info}

{excerpt}Saves copies of all job and system configurations.{excerpt}
{hudson-plugin-info:pluginId=jobConfigHistory|src=github}This plugin saves a copy of the configuration file of a job ({{config.xml}}) and the system of the for every change. So
you can see what changes have been made by which user (if you use security).

It also provides an overview page for every job automatically and for all jobs
as well as the system reachable from the main page.

Diffs between changes are possible in the job page as well.

{note:title=Be Careful}If you use this plugin together with the [Global Build Stats Plugin] you should add {{global-build-stats}} to the excludes in the *System configuration exclude file pattern* section of this plugin in *Configure System* page.
{note}
h2. Changelog

h3. Version 1.10-SNAPSHOT (not released yet)

h3. Version 1.9 (Dec 20 2010)

* Workaround for [6774@issue], [6943@issue] provided by John Borghi: http 500 error thrown whilst saving a job configuration although the changes are actually persisted, Save config results in IOException: Unable to delete....config.xml when "Do not save duplicate history" is selected, mostly a Windows/NFS problem.
* Fix for [6924@issue]: Add {{global-build-stats}} to DEFAULT_EXCLUDE in {{JobConfigHistoryConsts.java}}.
* Added Spanish translation (release #33152)

h3. Version 1.5 (May 31 2010)

* Fix for [6655@issue]: JDK 1.5 compatibility. (Thanks to vlatombe)
* Bugfix in exception handling

h3. Version 1.4 (May 11 2010)

* Fix for [5864@issue]: Plugin requires admin rights.
* Provide the following additional features.  The configurations are optional and can be set via the "Manage Hudson"->"Configure System" link. (Many thanks to John Borghi and his team for this enhancement)
**  Alternative root folder for storing history. This option must be used if interested in preserving configurations for deleted jobs.
**  Setting for the maximum number of history configurations to keep (per item).  Leave blank or zero to keep all entries (no maximum).
**  Option to not create a new history entry if it is the same as the last saved entry for that item.
**  Allow saving of 'system' configurations - defined as those stored directly in HUDSON_ROOT.
**  Regexp pattern for excluding system configuration files to save. Useful because some system configurations are not interesting to save. A recommended default value is provided.
**  Enhanced UI for selecting versions to compare.
**  Allow system configuration diffs to be viewed via the UI.

h3. Version 1.3 (Apr 05 2010)

* Fix for [6163@issue]: Job Config History badge is lost with newer versions of hudson.

h3. Version 1.2 (Feb 12 2010)

* Replaced the homegrown version of diff with gnu unified diff.
* Fix for [5534@issue]: Access permissions are not taken into account when getting files via jobConfigHistory.
* Fix for [5607@issue]: table entry for username was empty.

h3. Version 1.1 (Feb 01 2010)

* First version of this plugin as described in [2765@issue].