Skip to content

Document that included/excluded region regexes match the full path #1431 - #1597

Merged
Eccenux merged 1 commit into
jenkinsci:masterfrom
AzazelSensei:fix-1431-region-regex-docs
Sep 2, 2026
Merged

Document that included/excluded region regexes match the full path #1431#1597
Eccenux merged 1 commit into
jenkinsci:masterfrom
AzazelSensei:fix-1431-region-regex-docs

Conversation

@AzazelSensei

Copy link
Copy Markdown
Contributor

Was this PR generated or assisted by AI?

NO

Purpose of the pull request

Included/excluded region help said the fields use regular expressions, but not that each pattern has to match the whole Subversion path (Matcher.matches()). A relative path such as src/main/.* never triggers. I documented that and added a test for #1431 / JENKINS-45199.

Brief change log

  • Spell out full-path matching in the included and excluded region help
  • Cover relative vs whole-path patterns in DefaultSVNLogFilterTest

Verify this pull request

This change added tests and can be verified as follows:

  • DefaultSVNLogFilterTest.includedAndExcludedRegionsMatchEntirePath

Region filters use Matcher.matches() against the whole Subversion path.
Relative patterns such as src/main/.* never match /trunk/.../src/main/Foo.java.
Document that in the inline help and lock it in with a test.

jenkinsci#1431

@Eccenux Eccenux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK, I like the examples. A bit of an odd pull request template, but it is fine.

PS: My friend was an Azazel in an RPG :)

@Eccenux
Eccenux merged commit bd0c709 into jenkinsci:master Sep 2, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants