Skip to content

Commit 5fcd194

Browse files
petertrrsonartech
authored andcommitted
SONARIAC-1889 Don't cache integrationTest tasks
1 parent 92c9487 commit 5fcd194

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build-logic/src/main/kotlin/org.sonarsource.iac.integration-test.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,9 @@ val integrationTestTask =
5252
exceptionFormat = TestExceptionFormat.FULL // log the full stack trace (default is the 1st line of the stack trace)
5353
events("skipped", "failed") // verbose log for failed and skipped tests (by default the name of the tests are not logged)
5454
}
55+
56+
outputs.upToDateWhen {
57+
// As the exact SQ version is not known at configuration time, we cannot know if the task is up-to-date
58+
false
59+
}
5560
}

0 commit comments

Comments
 (0)