Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed build step for quality checks by using the warnings ng jenkins plugin #1519

Merged
merged 1 commit into from
May 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
tfr42 marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
Expand Down