mirror of https://github.com/jenkinsci/jenkins.git
Move reference build step before coverage report (#6818)
This commit is contained in:
parent
971a372fc2
commit
6675fd828b
|
@ -83,11 +83,11 @@ for (i = 0; i < buildTypes.size(); i++) {
|
|||
error 'There were test failures; halting early'
|
||||
}
|
||||
if (buildType == 'Linux' && jdk == jdks[0]) {
|
||||
publishCoverage calculateDiffForChangeRequests: true, adapters: [jacocoAdapter('coverage/target/site/jacoco-aggregate/jacoco.xml')]
|
||||
def folders = env.JOB_NAME.split('/')
|
||||
if (folders.length > 1) {
|
||||
discoverGitReferenceBuild(scm: folders[1])
|
||||
}
|
||||
publishCoverage calculateDiffForChangeRequests: true, adapters: [jacocoAdapter('coverage/target/site/jacoco-aggregate/jacoco.xml')]
|
||||
|
||||
echo "Recording static analysis results for '${buildType}'"
|
||||
recordIssues(
|
||||
|
|
Loading…
Reference in New Issue