Skip to content

Commit de102d7

Browse files
committed
Fix incorrect condition to ignore environment variables for build cache
1 parent b9629c2 commit de102d7

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

Lines changed: 1 addition & 1 deletion
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)