Skip to content

Commit

Permalink
Merge pull request #1519 from deegree/main-fixreleasepipeline
Browse files Browse the repository at this point in the history
Fixed build step for quality checks by using the warnings ng jenkins plugin
  • Loading branch information
stephanr authored May 17, 2023
2 parents fbe05d3 + bb2ca0b commit c82ce74
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,12 @@ pipeline {
}
steps {
echo 'Quality checking'
sh 'mvn -B -C -fae -P oracle,mssql com.github.spotbugs:spotbugs-maven-plugin:spotbugs checkstyle:checkstyle javadoc:javadoc'
sh 'mvn -B -C -fae -P oracle com.github.spotbugs:spotbugs-maven-plugin:spotbugs javadoc:javadoc'
}
post {
success {
findbugs canComputeNew: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', pattern: '**/spotbugsXml.xml', unHealthy: ''
checkstyle canComputeNew: false, canRunOnFailed: true, defaultEncoding: '', healthy: '', pattern: '**/checkstyle-result.xml', unHealthy: ''
javadoc javadocDir: '**/target/site/apidocs', keepAll: true
always {
recordIssues enabledForFailure: true, tools: [mavenConsole(), java(), javaDoc()]
recordIssues enabledForFailure: true, tool: spotBugs()
}
}
}
Expand All @@ -75,8 +74,8 @@ pipeline {
}
post {
success {
archiveArtifacts artifacts: '**/target/deegree-webservices-*.war', fingerprint: true
archiveArtifacts artifacts: '**/target/deegree-webservices-handbook*.zip', fingerprint: true
archiveArtifacts artifacts: 'checkout/**/target/deegree-webservices-*.war', fingerprint: true
archiveArtifacts artifacts: 'checkout/**/target/deegree-webservices-handbook*.zip', fingerprint: true
}
}
}
Expand Down

0 comments on commit c82ce74

Please sign in to comment.