Branch: refs/heads/master Home: https://github.com/jenkinsci/gerrit-trigger-plugin Commit: bef5841503d96b3ddaed9479b8fff096efa83025 https://github.com/jenkinsci/gerrit-trigger-plugin/commit/bef5841503d96b3ddaed9479b8fff096efa83025 Author: Jon Sten <j...@axis.com> Date: 2020-10-27 (Tue, 27 Oct 2020)
Changed paths: A src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritSaveableListener.java M src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritItemListenerTest.java Log Message: ----------- Add listener for cleaning up removed triggers If a gerrit trigger is removed from a job, then the listener won't be removed. This caused loads of log entires to be written to the Jenkins system log, warning that the trigger couldn't be found. E.g.: > Couldn't find a configured trigger for Some/Job This change fixes this issue by listening for save events on jobs and removing listeners if there is no gerrit trigger configured on the newly updated job. Commit: cb7a5d031318b1d9ed24ccadb0128ff7d2b68807 https://github.com/jenkinsci/gerrit-trigger-plugin/commit/cb7a5d031318b1d9ed24ccadb0128ff7d2b68807 Author: Robert Sandell <rsand...@cloudbees.com> Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: A src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritSaveableListener.java M src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritItemListenerTest.java Log Message: ----------- Merge pull request #418 from jonsten/missingTriggerWarning Add listener for cleaning up removed triggers Compare: https://github.com/jenkinsci/gerrit-trigger-plugin/compare/e1e03ccae0d0...cb7a5d031318 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/gerrit-trigger-plugin/push/refs/heads/master/e1e03c-cb7a5d%40github.com.