Skip to content

Commit

Permalink
Jenkinsfile: enable eclipse qualityGate
Browse files Browse the repository at this point in the history
error was:
"Repository miner is not configured, skipping repository mining
Reference build recorder is not configured
Obtaining reference build from same job"
  • Loading branch information
EcljpseB0T committed Feb 13, 2024
1 parent 67fcfe4 commit 6d0970f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pipeline {
timeout(time: 80, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr:'5'))
disableConcurrentBuilds(abortPrevious: true)
timestamps()
}
agent {
label "centos-latest"
Expand All @@ -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()]
}
}
}
Expand Down

0 comments on commit 6d0970f

Please sign in to comment.