From 3c1065b067e01526a303134b0f1b947af92ad229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Kubitz?= <51790620+jukzi@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:55:27 +0100 Subject: [PATCH] Jenkinsfile: ignoreQualityGate:true #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 https://github.com/eclipse-platform/eclipse.platform.swt/issues/1648 --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b5d750a40d..e3415fc36a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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]] } } }