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()] } } }