Skip to content

Commit

Permalink
Merge branch 'xsimo-feature/log_when_triggering'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Oct 17, 2024
2 parents 12ffa53 + 3e12f99 commit 9706d32
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/org/jenkinsci/plugins/gwt/Renderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ public static boolean isMatching(final String renderedRegexpFilterText, final St
final boolean isMatching = compile(nullToEmpty(regexpFilterExpression)) //
.matcher(nullToEmpty(renderedRegexpFilterText)) //
.find();
if (!isMatching) {
if (isMatching) {
LOGGER.log(
FINE,
"Triggering \"" + regexpFilterExpression + "\" matching \"" + renderedRegexpFilterText + "\".");
} else {
LOGGER.log(
FINE,
"Not triggering \""
Expand Down

0 comments on commit 9706d32

Please sign in to comment.