Publish Javadocs HTML

This commit is contained in:
Paul Campbell 2018-03-05 19:31:51 +00:00
parent bf87d90673
commit f16155d1d4

View file

@ -43,9 +43,25 @@ pipeline {
archiveArtifacts '**/target/*.jar'
}
}
stage('Coverage') {
stage('Javadoc') {
steps {
jacoco(execPattern: '**/target/jacoco.exec')
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 9') {
sh "${mvn} -P release javadoc:javadoc"
}
publishHTML([
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: false,
reportDir: 'target/site/apidocs/',
reportFiles: 'index.html',
reportName: 'Javadocs',
reportTitles: ''
])
}
}
stage('Quality') {
steps {
jacoco exclusionPattern: '**/*{Test|IT|Main|Application|Immutable}.class'
}
}
stage('Deploy') {