https://kotlinlang.org logo
#detekt
Title
# detekt
s

Sebastian Schuberth

02/21/2024, 10:35 PM
I have a weird case where a merged SARIF file is not available on CI, but when I run the same tasks locally, the file gets create successfully at the expected location. Does anyone have an idea what might cause this? I also don't see anything suspicious in the Gradle build scan. It seems like the
mergeDetektReports
task simply is not called via
finalizedBy
. But more importantly, it's also not called when specified explicitly on the command line...
Ok, looks like calling the merge task fails if besides
detekt
also a source-set specific task like
detektTest
is called...