JobRevision Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID jobrevision Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Jan 03, 2012
Source Code
Issue Tracking
Open Issues
Gregory Boissinot (id: gbois)
Usage Installations 2013-Apr 501
2013-May 504
2013-Jun 487
2013-Jul 491
2013-Aug 471
2013-Sep 476
2013-Oct 483
2013-Nov 492
2013-Dec 470
2014-Jan 490
2014-Feb 530
2014-Mar 531

This plugin enables users to set a revision (a version) for the Jenkins job.


The job revision sets the JOB_REVISION as an environment variable in the Jenkins job.

Some use cases

  • To bring traceability when there are multiple branches of a product.


Combination with other plugins

It is suggested to use the EnvInject Plugin to manage all job environment variables.
EnvInject plugin retrieves the job revision variable (JOB_REVISION).


  • Retrieve the revision from the main build step stored in your build descriptor (Maven, Ivy, Gradle, ...)


Version 0.6 (2012-01-03)
  • Add an optionalBlock
Version 0.5 (2011-05-16)
  • Built for Jenkins 1.410 (company target)
Version 0.4 (2011-02-17)
  • Workaround issue in IBM JVM causing intermittent ClassNotFoundException. (issue #5141)
Version 0.3 (2010-07-02)
  • Added a dedicated page to display the revision; the revision is also exposed by API (XML, JSON and Python).
Version 0.2 (2009-11-08)
  • Added an Hudson ParameterValue to keep track of the revision through the builds.
Version 0.1 (2009-11-02)
  • Initial release


plugin-buildwrapper plugin-buildwrapper Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment