record maven invoker result only once
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
5d761ec7d2
commit
94d1e26930
|
@ -31,7 +31,6 @@ def getFullBuild(jdk, os, mainJdk) {
|
|||
jdk: "$jdk",
|
||||
publisherStrategy: 'EXPLICIT',
|
||||
globalMavenSettingsConfig: settingsName,
|
||||
options: [invokerPublisher()],
|
||||
mavenOpts: mavenOpts,
|
||||
mavenLocalRepo: localRepo) {
|
||||
// Compile only
|
||||
|
@ -71,12 +70,15 @@ def getFullBuild(jdk, os, mainJdk) {
|
|||
sourcePattern: '**/src/main/java'
|
||||
consoleParsers = [[parserName: 'Maven'],
|
||||
[parserName: 'JavaDoc'],
|
||||
[parserName: 'JavaC']];
|
||||
[parserName: 'JavaC']]
|
||||
|
||||
step([$class: 'MavenInvokerRecorder'])
|
||||
}
|
||||
|
||||
// Report on Maven and Javadoc warnings
|
||||
step([$class : 'WarningsPublisher',
|
||||
consoleParsers: consoleParsers])
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue