MINOR: Fix "No suitable checks publisher found" message during CI build (#15247)
This message keeps popping up in our CI builds during the "Archive JUnit-formatted test results" step, and can be misleading since it appears to indicate that something is wrong.
diff --git a/Jenkinsfile b/Jenkinsfile
index 50b7f6a..0b2d14c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -33,7 +33,7 @@
sh """./gradlew -PscalaVersion=$SCALA_VERSION ${target} \
--profile --continue -PkeepAliveMode="session" -PtestLoggingEvents=started,passed,skipped,failed \
-PignoreFailures=true -PmaxParallelForks=2 -PmaxTestRetries=1 -PmaxTestRetryFailures=10"""
- junit '**/build/test-results/**/TEST-*.xml'
+ junit skipPublishingChecks: true, testResults: '**/build/test-results/**/TEST-*.xml'
}
def doStreamsArchetype() {