We’re setting up a Jenkins parallel pipeline build to execute our tests across multiple executor nodes to reduce the time it takes to run the full test suite. After the parallel tests have completed the pipeline consolidates the results on one node to generate the test reports. At this point we also attempt to run the Gradle SonarQube plugin to perform static analysis and upload the test results & coverage data to SonarCloud.
Apparently the Gradle SonarQube task is declaring test execution as a prerequisite tasks, causing a second sequential execution of our tests. Is there a way we can suppress the Gradle plug-in’s attempt to re-execute the tests? This pretty much defeats the purpose of running the tests in parallel.
Using Gradle SonarQube plugin version 2.6.0.