Skip to content

Commit

Permalink
Jenkinsfile: ignoreQualityGate:true #1648
Browse files Browse the repository at this point in the history
" only issues that have been introduced in the current build are marked as new" see
https://www.jenkins.io/doc/pipeline/steps/warnings-ng/

fixes #1648
  • Loading branch information
jukzi authored and akurtakov committed Dec 12, 2024
1 parent 2a61cb2 commit 3c1065b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,9 @@ pipeline {
junit 'eclipse.platform.swt/tests/*.test*/target/surefire-reports/*.xml'
archiveArtifacts artifacts: '**/*.log,**/*.html,**/target/*.jar,**/target/*.zip'
discoverGitReferenceBuild referenceJob: 'eclipse.platform.swt/master'
recordIssues publishAllIssues: true, tools: [eclipse(name: 'Compiler and API Tools', pattern: '**/target/compilelogs/*.xml'), javaDoc()], qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]
recordIssues publishAllIssues: true, tool: mavenConsole(), qualityGates: [[threshold: 1, type: 'DELTA_ERROR', unstable: true]]
// To accept unstable builds (test errors or new warnings introduced by third party changes) as reference using "ignoreQualityGate:true"
recordIssues publishAllIssues: true, ignoreQualityGate:true, tools: [eclipse(name: 'Compiler and API Tools', pattern: '**/target/compilelogs/*.xml'), javaDoc()], qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]
recordIssues publishAllIssues: true, ignoreQualityGate:true, tool: mavenConsole(), qualityGates: [[threshold: 1, type: 'DELTA_ERROR', unstable: true]]
}
}
}
Expand Down

0 comments on commit 3c1065b

Please sign in to comment.