Skip to content

Commit 452e670

Browse files
authored
Merge pull request #44 from yrodiere/i26
Fix incorrect condition to ignore environment variables for build cache
2 parents b9629c2 + de102d7 commit 452e670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/hibernate/infra/develocity/plugins/SurefireConfiguredPlugin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private void configureEnvironmentVariables(GoalMetadataProvider.Context context)
6464
value = "";
6565
}
6666
if ( value.startsWith( context.metadata().getSession().getExecutionRootDirectory() ) ) {
67-
if ( TEST_INDEXES_PATTERN.matcher( "test-indexes" ).find() ) {
67+
if ( TEST_INDEXES_PATTERN.matcher( value ).find() ) {
6868
// Lucene indexes used in tests -- we don't care about these.
6969
inputs.ignore( keyForDevelocity );
7070
}

0 commit comments

Comments
 (0)