From e84b5a00e5ecdb1babdeddfc214519c3f65ba42d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Kubitz?= Date: Tue, 13 Feb 2024 17:13:29 +0100 Subject: [PATCH] Jenkinsfile: enable eclipse qualityGate error was: "Repository miner is not configured, skipping repository mining Reference build recorder is not configured Obtaining reference build from same job" --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ddb3444b88..388df22a89 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,6 +3,7 @@ pipeline { timeout(time: 80, unit: 'MINUTES') buildDiscarder(logRotator(numToKeepStr:'5')) disableConcurrentBuilds(abortPrevious: true) + timestamps() } agent { label "centos-latest" @@ -29,7 +30,9 @@ pipeline { always { archiveArtifacts artifacts: '*.log,*/target/work/data/.metadata/*.log,*/tests/target/work/data/.metadata/*.log,apiAnalyzer-workspace/.metadata/*.log', allowEmptyArchive: true junit '**/target/surefire-reports/TEST-*.xml' - recordIssues tools: [eclipse(name: 'Compiler and API Tools', pattern: '**/target/compilelogs/*.xml'), javaDoc(), mavenConsole()] + discoverGitReferenceBuild referenceJob: 'p2/master' + recordIssues publishAllIssues:false, ignoreQualityGate:true, tool: eclipse(name: 'Compiler and API Tools', pattern: '**/target/compilelogs/*.xml'), qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]] + recordIssues tools: [javaDoc(), mavenConsole()] } } }