olamy commented on a change in pull request #3:
URL: https://github.com/apache/maven-jenkins-lib/pull/3#discussion_r815374017
##########
File path: vars/asfMavenTlpPlgnBuild.groovy
##########
@@ -119,18 +123,25 @@ def doCreateTask( os, jdk, maven, tasks, first, plan,
taskContext )
echo "Skipping ${os}-jdk${jdk} as unsupported by Jenkins Environment"
return;
}
+ def recordReporting = false
def cmd = [
'mvn', '-V',
'-P+run-its',
- '-Dmaven.test.failure.ignore=true',
'-Dfindbugs.failOnError=false',
'-e',
+ taskContext.extraCmd
]
if (!first) {
cmd += '-Dfindbugs.skip=true'
// } else { // Requires authorization on SonarQube first
// cmd += 'sonar:sonar'
+ }
+ if (Integer.parseInt(jdk) >= 11 && !taskContext['ciReportingRunned']) {
+ cmd += "-Pci-reporting -Perrorprone"
Review comment:
test branch `ci-reporting` with maven-compiler-plugin
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]