simplify using new syntax (#2286)
Signed-off-by: olivier lamy <olamy@webtide.com>
This commit is contained in:
parent
a272fb6e39
commit
a40b5ccf35
|
@ -40,7 +40,7 @@ def getFullBuild(jdk, os) {
|
|||
withMaven(
|
||||
maven: 'maven3',
|
||||
jdk: "$jdk",
|
||||
options: disableMvnReporters(),
|
||||
publisherStrategy: 'EXPLICIT',
|
||||
mavenLocalRepo: "${env.JENKINS_HOME}/${env.EXECUTOR_NUMBER}") {
|
||||
sh "mvn -V -B clean install -Dtest=None -T6"
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ def getFullBuild(jdk, os) {
|
|||
withMaven(
|
||||
maven: 'maven3',
|
||||
jdk: "$jdk",
|
||||
options: disableMvnReporters(),
|
||||
publisherStrategy: 'EXPLICIT',
|
||||
mavenLocalRepo: "${env.JENKINS_HOME}/${env.EXECUTOR_NUMBER}") {
|
||||
sh "mvn -V -B javadoc:javadoc -T5"
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ def getFullBuild(jdk, os) {
|
|||
withMaven(
|
||||
maven: 'maven3',
|
||||
jdk: "$jdk",
|
||||
options: disableMvnReporters(),
|
||||
publisherStrategy: 'EXPLICIT',
|
||||
mavenLocalRepo: "${env.JENKINS_HOME}/${env.EXECUTOR_NUMBER}") {
|
||||
//
|
||||
sh "mvn -V -B install -Dmaven.test.failure.ignore=true -Prun-its -T3 -e -Dmaven.repo.local=${env.JENKINS_HOME}/${env.EXECUTOR_NUMBER}"
|
||||
|
@ -136,7 +136,7 @@ def getFullBuild(jdk, os) {
|
|||
withMaven(
|
||||
maven: 'maven3',
|
||||
jdk: "$jdk",
|
||||
options: disableMvnReporters(),
|
||||
publisherStrategy: 'EXPLICIT',
|
||||
mavenLocalRepo: "${env.JENKINS_HOME}/${env.EXECUTOR_NUMBER}") {
|
||||
sh "mvn -V -B -Pcompact3 clean install -T5"
|
||||
}
|
||||
|
@ -198,17 +198,4 @@ def notifyBuild(String buildStatus, String jdk)
|
|||
)
|
||||
}
|
||||
|
||||
def disableMvnReporters() {
|
||||
return [
|
||||
concordionPublisher(disabled: true),
|
||||
dependenciesFingerprintPublisher(disabled: true),
|
||||
findbugsPublisher(disabled: true),
|
||||
artifactsPublisher(disabled: true),
|
||||
invokerPublisher(disabled: true),
|
||||
jgivenPublisher(disabled: true),
|
||||
junitPublisher(disabled: true),
|
||||
pipelineGraphPublisher(disabled: true),
|
||||
openTasksPublisher(disabled: true)];
|
||||
}
|
||||
|
||||
// vim: et:ts=2:sw=2:ft=groovy
|
||||
|
|
Loading…
Reference in New Issue