HGCA Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID hgca Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
May 06, 2010
Source Code
Issue Tracking
Open Issues
Andrew Bayer (id: abayer)
Usage Installations 2013-Apr 114
2013-May 107
2013-Jun 111
2013-Jul 110
2013-Aug 106
2013-Sep 105
2013-Oct 103
2013-Nov 95
2013-Dec 90
2014-Jan 88
2014-Feb 97
2014-Mar 103

Hudson Generic Changelog Annotator Plugin

This plugin allows the administrator to specify pairs of patterns and URLs, both globally and on a per-job level, to use for marking up changelog text. For example, if the pattern:


is paired with the URL:


the text "Example ABC123." in a changelog entry would be replaced with:

Example <a href="http://some.site.com/tool?query=ABC123">ABC123</a>.

Pattern format and URL replacement:

  • Patterns are standard Java regular expressions.
    • Note that backslashes do not need to be escaped in patterns - \d+ works,
      d+ does not.
  • $1, $2, etc... can be used in the URL. They will be replaced by the first, second, etc. grouping in the pattern.
    • Note that the displayed text will not change - it will only be wrapped with the link.


  • To define pattern/URL pairs globally:
    • Go to Manage Hudson->Configure Server.
    • Click Add in the "Global Change Log Annotations" section, near the bottom of the page.
    • Enter the pattern and URL.
    • Add additional pattern/URL pairs if desired.
    • Check or uncheck box to apply global patterns to all projects, or only when projects "opt-in".
    • Save your changes.
  • To define pattern/URL pairs for a single job, or to override globally defined pattern/URL pairs for a single job:
    • Go to the Configuration page for your job.
    • Find the "Change log annotations" checkbox in the top section.
    • Mark the checkbox, if it is not already checked.
    • Check or uncheck box to apply global patterns for this project.
    • If you want to add individual patterns for just this job, then Click Add in the "Pattern/URL pairs" section, and enter the pattern and URL.
    • Add additional pattern/URL pairs as desired.
    • Save your changes.

Change Log

Version 1.3 (May 6, 2010)
  • Avoid NPE and missing changelogs in jobs that used HGCA before version 1.2 (issue #6367)
Version 1.2 (Apr 5, 2010)
  • Added option to apply global patterns to all projects.
  • Documented NUM and ANYWORD tokens that were already present in previous releases.
Version 1.1 (Dec 29, 2009)
  • Update uses of deprecated APIs
  • Remove debug output
Version 1.0 (Mar 17, 2009)
  • Initial checkin and release.


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