Branch: refs/heads/master
Home: https://github.com/jenkinsci/gerrit-trigger-plugin
Commit: b5dd6037e29d81365131f41e9eacc469d696a533
https://github.com/jenkinsci/gerrit-trigger-plugin/commit/b5dd6037e29d81365131f41e9eacc469d696a533
Author: Chris Allen <[email protected]>
Date: 2022-08-25 (Thu, 25 Aug 2022)
Changed paths:
M
src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java
M
src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/data/GerritProject.java
M
src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/data/GerritProjectForbiddenFilesTest.java
M
src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/data/GerritProjectForbiddenFilesWithMagicalFileNamesTest.java
M
src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/data/GerritProjectWithFilesInterestingTest.java
Log Message:
-----------
[JENKINS-69442] Defer query of change file paths until actually required
The change based event payload includes enough information to
determine if the project, branch and topic match the configured
trigger definition. These should always be tested first before
checking any file path filters since that requires fetching the
list of files for the change from the Gerrit server.
This fix also removes unnecessary multiple loops over the file path
trigger filters for each branch filter. The branch and file path
filters in a given trigger definition are independent of each of other.
Commit: 97d63f071f0a5dae4afd0a07a1b6cb4d4137c1b3
https://github.com/jenkinsci/gerrit-trigger-plugin/commit/97d63f071f0a5dae4afd0a07a1b6cb4d4137c1b3
Author: Robert Sandell <[email protected]>
Date: 2022-09-16 (Fri, 16 Sep 2022)
Changed paths:
M
src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java
M
src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/data/GerritProject.java
M
src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/data/GerritProjectForbiddenFilesTest.java
M
src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/data/GerritProjectForbiddenFilesWithMagicalFileNamesTest.java
M
src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/data/GerritProjectWithFilesInterestingTest.java
Log Message:
-----------
Merge pull request #471 from chrisa-arm/JENKINS-69442-defer-file-paths-query
[JENKINS-69442] Defer query of change file paths until actually required
Compare:
https://github.com/jenkinsci/gerrit-trigger-plugin/compare/6d6f963f8ee4...97d63f071f0a
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/gerrit-trigger-plugin/push/refs/heads/master/6d6f96-97d63f%40github.com.