Skip to content

Commit 3c1065b

Browse files
jukziakurtakov
authored andcommitted
Jenkinsfile: ignoreQualityGate:true eclipse-platform#1648
" 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 eclipse-platform#1648
1 parent 2a61cb2 commit 3c1065b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Jenkinsfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,9 @@ pipeline {
328328
junit 'eclipse.platform.swt/tests/*.test*/target/surefire-reports/*.xml'
329329
archiveArtifacts artifacts: '**/*.log,**/*.html,**/target/*.jar,**/target/*.zip'
330330
discoverGitReferenceBuild referenceJob: 'eclipse.platform.swt/master'
331-
recordIssues publishAllIssues: true, tools: [eclipse(name: 'Compiler and API Tools', pattern: '**/target/compilelogs/*.xml'), javaDoc()], qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]
332-
recordIssues publishAllIssues: true, tool: mavenConsole(), qualityGates: [[threshold: 1, type: 'DELTA_ERROR', unstable: true]]
331+
// To accept unstable builds (test errors or new warnings introduced by third party changes) as reference using "ignoreQualityGate:true"
332+
recordIssues publishAllIssues: true, ignoreQualityGate:true, tools: [eclipse(name: 'Compiler and API Tools', pattern: '**/target/compilelogs/*.xml'), javaDoc()], qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]
333+
recordIssues publishAllIssues: true, ignoreQualityGate:true, tool: mavenConsole(), qualityGates: [[threshold: 1, type: 'DELTA_ERROR', unstable: true]]
333334
}
334335
}
335336
}

0 commit comments

Comments
 (0)