}
post {
always {
- junit 'target/surefire-reports/*.xml'
+ junit '**/target/surefire-reports/*.xml'
recordCoverage(tools: [[parser: 'JACOCO', pattern: '**/jacoco.xml']])
}
}
steps {
configFileProvider([configFile(fileId: 'fb50fa11-48a8-44b8-84fd-e11f06ab1067', targetLocation: 'toolchains.xml')]) {
sh './mvnw -t toolchains.xml -DskipTests=true package'
- archiveArtifacts artifacts: 'target/*.jar', fingerprint: true
- javadoc javadocDir: 'target/apidocs', keepAll: true
+ archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
+ javadoc javadocDir: '**/target/apidocs', keepAll: true
}
}
}