lacking understanding on how to match paths/files in -Dgib.excludePathsMatching
or -Dgib.skipIfPathMatches
#387
Labels
-Dgib.excludePathsMatching
or -Dgib.skipIfPathMatches
#387
Hi there
We have a project structure something like this
Our master build pipe-line parses the module pom files and replaces the version tag values from
0.1.4--SNAPSHOT
with0.1.4.123312
(some build hash).It does this prior to actually launching the build. This means, when GIB compares the
master
branch with themaster--reference
branch it will notices the changes in the pom files and build all of the sub-modules, even if there was no change in the actual code.When I use the
excludePathsMatching
orskipIfPathMatches
with exact paths (i.e.modules/module-1/pom.xml
) the change is noted, but skipped since it's part of the regex.However, I have been trying to get the regex to work on all sub-modules using standard regex notation (for example
modules/module-.*/pom\.xml
) but it doesn't match. If I'm understanding the documentation I should be able to useand it should match all files starting with
pom
, right?Unfortunately it isn't working and so I must be missing some crucial part to this puzzle. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: