Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
1002 lines (804 sloc) 42.6 KB

Change Log

Newer versions are in GitHub Releases.

Version 2.30.0 (released Aug 02 2019)

  • JENKINS-54509 - Add check description is null then set description to "" (#399)

  • EventFilter - Add capability to modify which events are interesting (#397)

  • PlaybackManager - Persist to XML in a thread (#398)

Version 2.29.0 (released Feb 15 2019)

  • Java 8 and Jenkins 1.121 (#389#390)

  • Support triggering for wip-state-changed and private-state-changed (#383)

  • Start the trigger in a known state when using a dynamic configuration URL (#350)

  • JENKINS-55262 - Missing content-type on serverStatuses REST API (#388)

Version 2.28.0 (released Dec 19 2018)

  • Make filtering out gerrit user’s comments configurable (#384)

  • Clean up some eclipse warnings (#386)

  • Fix the synchronisation block in gerritEvent() (#382)

  • Fix problem with static access to SimpleDateFormat (#381)

  • skip updating the dynamic configuration if jobs are disabled (#380)

  • Update documentation to link to latest major Gerrit release (#379)

  • Improve logging in GerritPluginChecker (#378)

Version 2.27.7 (released Sep 3 2018)

  • Assure the connection get closed after check. (#375)

  • Upgrade animal-maven-sniffer-plugin to 1.17 (#377)

  • Diagnostics: Remove redundant 'unused' suppressions (#376)

Version 2.27.6 (released Aug 24 2018)

  • Fix typo in javadoc (#371)

  • Null check getConfigXml() (#369)

  • Also specifiy a tag when using the SSH API (#368)

  • Add autogenerated prefix to the jenkins-gerrit-trigger tag (#366)

  • Fix race condtion in ssh key generation (#362)

  • Remove jobs from all memory entities (#352)

  • JENKINS-49813 - RunningJobs: Remove extra shouldCancelPatchsetNumber check (#356)

  • Clean runningJob class from stupid mistakes (#357)

  • Add proxy to avoid too much connections (#353)

Version 2.27.5 (released Feb 26 2018)

Version 2.27.4 (released Feb 20 2018)

  • Bumped Gerrit Events library to 2.12.0 to fix a json-lib version conflict with Jenkins core

  • Optimized event processing a bit (#355)

  • JENKINS-39498 - Stop panicking about "eventCreatedOn" and losing my position (#346)

  • JENKINS-48622  Reduced logging spam from GerritMissedEventsPlaybackEnabledChecker (#349)

Version 2.27.3 (released Jan 26 2018)

  • Fixed some NullPointerExceptions and other code fixes (#342, #344, #345)

  • Fixed a race condition (#340)

  • UI Fixes and tweaks (#341, #347)

  • JENKINS-49163 Create correct url in Diagnotic Event Listeners report for jobs located in folders (#348)

Version 2.27.2 (released Jan 15 2018)

Version 2.27.1 (released Dec 06 2017)

Version 2.27.0 (released Dec 01 2017)

  • Provide the data about parent builds as environment variable to the dependent build (pull #319)

  • Fixed a race condition with dynamic config refresh interval (pull #334)

  • Fix the deadlock in RunningJobs (pull #333)

Version 2.26.2 (released Oct 30 2017)

  • Expand parameters in build messages (pull #331)

  • Reduced item lookup calls to save memory and performance (pull #332)

Version 2.26.1 (released Oct 12 2017)

Version 2.26.0 (released Sep 13 2017)

  • Added support for Topic Changed event (pull #324)

  • Fixed a deadlock in DependencyQueueTaskDispatcher (pull #325)

Version 2.25.0 (released Aug 11 2017)

Version 2.24.0 (released Jul 3 2017)

Version 2.23.3 (released Jun 9 2017)

Version 2.23.2 (released Apr 19 2017)

  • Update Gerrit documentation links to latest major release (pull #311)

  • Fix CommentAdded event for Gerrit snapshot version < 2.13 (pull #310)

Version 2.23.1 (released Apr 11 2017)

  • JENKINS-40059 - CommentAdded trigger firing on every comment (pull #302, pull #309)

  • Display full commit message in tooltip (pull #306)

  • Change Nr. is a link to review detail (pull #305)

  • Prevent double HTML escaping of subject in search results (pull #304)

  • #59 Bumped Gerrit Events to version 2.10.1 to fix an buffer issue for incoming JSON.

Version 2.23.0 (released Nov 25 2016)

  • JENKINS-38675 Use refspec instead of branch name for the revision (pull #299)

  • Diagnostics pages: Management pages to get some diagnostics views into the internals of the trigger. Usable to troubleshoot why some strange behaviours are happening, with Support Core Plugin reports. (pull #275)

  • JENKINS-38974 fill in commentTextParameterMode if it’s missing (pull #301)

Version 2.22.0 (released Aug 17 2016)

This version does not contain the changes in 2.22.0-beta-1, they will be incorporated at a later date

  • Prepare for git client plugin 2.0.0 coexistence with 1.x (pull #296)_

  • Operator '^' for dynamic trigger must be escaped in regex (pull #294)

  • JENKINS-30821 - Add comment-added comment as job parameter (pull #295)

Version 2.22.0-beta-1 (released Jul 06 2016)

Version 2.21.1 (released Jun 07 2016)

  • JENKINS-35364 Fixed a ClassNotFound due to the use of wrong StringUtils (pull #286)

  • JENKINS-35389 Fixed Jenkins getting wrong certificate if Gerrit is running with nginx reverse proxy and nginx configured to run multiple https sites. (pull #287)

Version 2.21.0 (released May 30 2016)

Version 2.20.0 (released Apr 12 2016)

  • Added Structs plugin Symbol annotations for concise DSL syntax (pull #280)

  • Fixed the "updated" check on Comment-added events introduced in 2.17.0 to look at the correct "oldValue" property instead (pull #279)

Version 2.19.0 (released Mar 31 2016)

Version 2.18.4 (released Mar 09 2016)

  • JENKINS-30857 Fixed Java 1.6 compatibility issue due to introduction of ReflectiveOperationException. (pull #276)

  • Also added animal sniffer to the plugin’s build test phase to try to avoid the above problem in the future. (But you shouldn’t be running Java 1.6 anyway, we will soon move away from it…​)

Version 2.18.3 (released Jan 05 2016)

Version 2.18.2 (released Dec 11 2015)

  • Renamed review category deprecated default names CRVW and VRIF for new server configs (should have been done 2 years ago). (pull #270)

  • JENKINS-31894 Fixed problem where approvals were not displayed in Query and Trigger search results. (pull #272)

Version 2.18.1 (released Dec 3 2015)

Version 2.18.0 (released Dec 1 2015)

  • Changed the way "compound name and email" and GERRIT_CHANGE_COMMIT_MESSAGE (a.k.a "Readable message") parameters are configured.
    Users can now select between three modes: "Human readable", Encoded and "Do not add". With the same defaults as the old checkboxes. (pull #258)

  • Added the same mode configuration for the GERRIT_CHANGE_SUBJECT parameter. (pull #265)

Version 2.17.5 (released Nov 30 2015)

Version 2.17.4 (released Nov 27 2015)

Version 2.17.3 (released Nov 26 2015)

Version 2.17.2 (released Oct 29 2015)

  • Fix NPE involving null server CR/Ver labels (pull #257)

Version 2.17.1 (released Oct 28 2015)

Version 2.17.0 (released Oct 26 2015)

  • Update for upcoming change to Gerrit stream events in regards to updated attribute in Approval for responding to Comment Added events (pull #253)

  • JENKINS-30367, JENKINS-30393 Allow override of code-review/verified value from job (pull #255)
    This change also makes it so Jenkins doesn’t send --verified at all for the review ssh command, if there is no value calculated, so if you change the defaults you shouldn’t need to add the Verified label in Gerrit.

Version 2.16.0 (released Oct 02 2015)

Version 2.15.2 (released Sept 30 2015)

  • Fix to permit use of Forbidden files without File Paths (pull #251)

Version 2.15.1 (released Sept 14 2015)

Version 2.15.0 (released Aug 31 2015)

2.15.0-beta-1 promoted to stable

Version 2.15.0-beta-1 (released Aug 17 2015)

Version 2.14.0 (released Jun 05 2015)

2.14.0-beta-3 promoted to stable

Version 2.14.0-beta-3 (released May 27 2015)

Version 2.14.0-beta-2 (released May 26 2015)

  • Correct default values for Build Current Patchsets (pull #236)

Version 2.14.0-beta-1 (released May 20 2015)

Version 2.13.0 (released Apr 24 2015)

2.13.0-beta-6 promoted to stable.

Version 2.13.0-beta-6 (released Apr 7 2015)

Version 2.13.0-beta-5 (released Feb 23 2015)

  • Another regression from JENKINS-23152. The correct event handling methods wasn’t called for some event types causing weird loop-triggering behavior. (pull #204)

Version 2.13.0-beta-4 (released Feb 16 2015)

Version 2.13.0-beta-3 (released Feb 6 2015)

  • Enabled Base64EncodedString parameter to be used with Rebuild plugin (pull #199)

  • Regression from JENKINS-23152 fix; Running event threads as SYSTEM user (pull #200)

Version 2.13.0-beta-2 (released Jan 15 2015)

I Botched the beta-1 release.

Version 2.12.0 (released Nov 14 2014)

  • 2.12.0-beta-5 promoted to stable

  • Added Japanese translations (pull #190)

Version 2.12.0-beta-5 (released Oct 30 2014)

Final rc for 2.12

Version 2.12.0-beta-4 (released Aug 28 2014)

  • Fixed disabled features not showing (pull #164)

  • JENKINS-24012 Fixed an issue with RabbitMQ (pull #166)

  • Added No connection on startup (pull #168)

  • Added selection for what labels to use for the REST API (pull #169)

  • Default "status:open" filled in on the search page (pull #163)

  • Added a trigger for comment added containing a specified RegEx (pull #170)

Version 2.12.0-beta-3 (released Jun 30 2014)

Still calling it beta since I haven’t had time o test it in a staging environment yet.

Features and Fixes

  • Added option to exclude drafts when triggering on patchset created event (pull #153)

  • Permit the setting of Build Schedule Delay to "0". Delay not needed with Replication Events (pull #143)

  • Bug: Copy REST API settings when creating new server (pull #156)

  • Bug: Password for SSH authentication file is now encrypted (pull #157)

  • JENKINS-23165 Don’t send plain text password to browser (pull #158)

  • JENKINS-23421 Add custom parameter type for Base64 encoded value (pull #160)

  • Filter on change-kind in patchset-created REWORK, TRIVIAL_REBASE, NO_CODE_CHANGE (pull #159)

  • Removed delayed approval feature JENKINS-11409 (commit 48311)

Version 2.12.0-beta-2 (released Apr 28 2014)

Features and Fixes

Version 2.12.0-beta-1 (released Apr 28 2014)

Bumped core dependency to 1.509.3

Features and Fixes

  • Code refactoring to "break out" the gerrit-events module into its own separate project.

  • Added a "Forbidden Files" optional parameter to Gerrit Projects (commit 43372)

  • JENKINS-11409 Delayed approval mechanism (commit 5f672)

  • Add Pseudo Mode to server configuration (commit 0e735)

  • NPE Fix in the connection watchdog

  • Fixed log annotator when "Any Server" was used. (commit f8e50)

  • Moved "Server Control Panel" to main Management page

  • Feature to block build until Gerrit replication is completed. (commit ab429)

  • JENKINS-21547 Add information to console log

  • New functionality allowing one project’s trigger to depend on others'. (commit 08fb5)

  • Various doc and help fixes

  • Add option for selecting non-encoded string for multiline text parameters. (commit cb285)

Version 2.11.1 (released Mar 21 2014)

Version 2.11.0 (released Jan 14 2014)

2.11.0-beta-4 promoted to "stable".

Version 2.11.0-beta-4 (released Dec 18 2013)

Last release for the year.


  • JENKINS-21067 New server config not reachable if using a prefix in URL

Version 2.11.0-beta-3 (released Dec 16 2013)


  • One more "Any Server" fix.

  • small jelly fix to make the trigger work like before with the templates plugin.

Version 2.11.0-beta-2 (released Dec 9 2013)


  • URL encoding for project and branch when calling the REST Api

  • Updated the Gerrit documentation link on the query page to point to 2.8

  • Various fixes for using the "Any Server" trigger option.

Version 2.11.0-beta-2 (released Dec 9 2013)


  • URL encoding for project and branch when calling the REST Api

  • Updated the Gerrit documentation link on the query page to point to 2.8

  • Various fixes for using the "Any Server" trigger option.

Version 2.11.0-beta-1 (released Nov 26 2013)

This version contains a lot of refactoring under the hood to make some of the features and future work possible.


  • [JENKINS-17850] Multiple Gerrit server support

  • Option to use REST Api for submitting review

    • Allowing other plugins to provide line comments via extension point

  • Option to check changes from Gerrit and trigger missed patchsets.

  • The change’s full commit message is available in triggered jobs, if Gerrit provides it.

  • New build parameter: GERRIT_TOPIC.


  • Replaced deprecated gerrit approve with gerrit review as default command.

  • [JENKINS-10709] Multiple builds are triggered for one change in Gerrit.

  • Fixed an NPE in Watchdog causing the days not to show in the config UI

  • Git choosing strategy no longer uses FETCH_HEAD but the actual revision instead

  • [JENKINS-20098] When computing the changelog in the Git Plugin using GerritTriggerBuildChooser an UnsupportedOperationException is thrown

Version 2.10.1 (released June 17, 2013)


  • Fixed NPE on "Query and Trigger Gerrit Patches". 

  • Connection to Gerrit is delayed during startup until all jobs are loaded.

Version 2.10.0 (released May 30, 2013)

Features and Fixes

  • Added Retrigger permission. 

    • Anyone with Build permission will also have Retrigger so you won’t need to change the authorization config.

    • Gives you the ability to deny people to build a job but retrigger it if for example some environment issue broke the build.

  • Japanese translations for the things added in 2.9.0

Version 2.9.0 (released Mar 12, 2013)

Features and Fixes

  • Added a watchdog that can restart the Gerrit connection if nothing has happened for x minutes

  • Fixed so that a reconnect is attempted if connection gets broken before stream-events is fully initiated.

  • SOCS5 and HTTP proxy support for connecting to Gerrit

  • Added new parameters: 

    • GERRIT_EVENT_TYPE - states what type of event that triggered the build



Version 2.8.0 (released Feb 21, 2013)

Features and Fixes

  • Trigger on change-abandoned and change-restored events.

  • Configuration to turn off the compound email parameter - workaround for parameter issues on Windows.

  • URLConnection to the dynamic trigger config should now be properly closed.

  • Removed use of deprecated APIs in git-plugin’s BuildChooser; follow up fix to JENKINS-16851, new dependency to git-plugin 1.2.0.

Version 2.7.0 (released Dec 5, 2012)

Features and Fixes

  • Custom messages from plugins takes into account all builds for an event

  • Custom messages from plugins moved from CUSTOM_MESSAGE into BUILD_STATS variable, added a checkbox to turn on/off plugin messages.

  • Ability to "skip voting" for a specific build result.

  • Fixed a circularity bug in Comment Added event, so Jenkins won’t trigger on comments from itself.

  • Upgraded jsch to 0.1.49

  • Build current patchsets only is no longer experimental

  • More Japanese translations

  • Fixes and additions to help files

  • Added a timeout when fetching dynamic configuration files

  • Bumped Jenkins core dependency to 1.424

  • GerritCause is now a sub class of SCMTriggerCause

  • Done some cleanups in the gerrit-event module

  • checkstyle:check is executed in the maven test phase, so the build will fail if you have checkstyle warnings.

  • ToGerritRunListener now has an ordinal of 10 003

Version 2.6.0 (released Sep 19, 2012)

Features and Fixes

  • Dynamic Gerrit triggering.

  • Triggering on comment-added, change-merged, ref-updated and draft-published now possible.

  • Refactorization of GerritTriggeredEvents and hashCode method implementation for events.

  • Fixed a double-triggering when a project is renamed.

  • New extension point for plugins to add custom messages to Gerrit at beginning/end of build.

  • JENKINS-11726

  • JENKINS-11582

  • JENKINS-10055

Version 2.5.2 (released May 7, 2012)

Features and Fixes

  • Corrected Gerrit version requirements for the "trigger on files" feature, it is now set to 2.3.

  • No quiet period when triggering builds manually (Retrigger and "Query and Trigger Gerrit Patches")

  • Fixed a deadlock when a job is saved at the same time as its being triggered.

  • More Japanese translations.

Version 2.5.1 (released Mar 13, 2012)

Features and Fixes

  • JENKINS-12836 Follow-up from previous version.

Version 2.5.0 (released Mar 8, 2012)

Features and Fixes

  • Gerrit version checking.

    • The plugin fetches the version of Gerrit each time the connection to Gerrit is started.

    • This will be used to filter out functionality that is not available in all Gerrit versions.

    • If a snapshot of Gerrit is used, all functionality will be enabled (as of today, only the file path triggering below uses the version check).

  • JENKINS-12836 Add a Descriptor for the Branch to avoid a warning in the logs.

  • Quiet Period. If a job has a configured quiet period; the trigger will use that if it is larger than the global configuration for the trigger.

  • File path triggering.

    • One or more file paths can now be entered in the config of a Jenkins project, in the same way as Gerrit project/branch.

    • The build will only trigger if the path is found in the patch set for this project/branch.

    • Useful for big gits with lots of smaller modules beneath it.

  • Custom message from workspace file.

    • A workspace file can now be updated with information that will be sent in the message from the trigger to Gerrit.

Version 2.4.0 (released Feb 17, 2012)

Features and Fixes

  • Custom URL per project. Each project can define what URL should be provided in the <BUILD_STATS> information that is sent to Gerrit.

  • JENKINS-11009 Silent Triggered builds now show up in the Manual Trigger monitor panel.

  • EXPERIMENTAL: Cancel old running jobs when a new Patch Set is uploaded on the same change.

    • This feature is set as experimental due to problems we’ve found during testing. 

    • You can enable the feature from the Manage Jenkins/Gerrit Trigger page.

    • All help in debugging the problems we’ve found is appreciated, that’s why it is in this release. (The problems are described in the comment section on GitHub here).

Version 2.3.1 (released Sep 14, 2011)

Features and Fixes

  • Change owner and patch-set uploader as build parameters.

  • JENKINS-7067 Does not attempt to connect to Gerrit if there is no configuration (first start up)

  • Compatible with git plug-in >= 1.1.10

  • Reload from disk and other duplication related bug-fixes.

Version 2.3.0 (released Mar 31, 2011)

This is built against Jenkins 1.400 to have an easier release process, but it should still be binary compatible with Hudson 1.362+

Features and Fixes

  • JENKINS-7053 Escape quotes in build parameters

  • JENKINS-8578 Added permission-setting to perform "Query and Trigger Gerrit Patches"

  • JENKINS-8799 Administrator check for start/stop the Gerrit connection

  • Ant pattern matching on Windows

  • Allow custom build messages per job

  • JENKINS-7207 Teach the trigger to understand merge commits.

Version 2.2.0 (released Oct 7, 2010)

  New Features

  • Allow for searching and manual triggering of Gerrit Patches - the feature requires Gerrit version 2.1.4 or later, but can be disabled.

    • Known bug: when upgrading from previous release, the manual trigger page is disabled by default. Goto the Gerrit Management page and enable it under the advanced section.

  • Gerrit/GIT Project-name Autocompletion on trigger-config page.

  • Multiple build’s results are reported on separate lines to Gerrit instead of "tab separated".

  • Approve commands are queued on a separate thread-pool instead of running on the last build’s thread.

Version 2.1.0 (released July 26, 2010)

  New Features

  • JENKINS-6818 Retrigger builds. The users has the ability to retrigger a build. A new build with the same change info as the original build will be scheduled.

  Bugs fixed

  • JENKINS-6967 Missing default parameters.

  • JENKINS-6977 Images and help don’t load when Hudson isn’t running on the root URL.

  • Fixed some Leaking threads

  • Japanese translation

Version 2.0 (released July 5, 2010)

  • First release.