Bug 574667 - Jenkinsfile allow missing log files Change-Id: I8f79010972fa462df41e6d679caef7af3c8dcc81 Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform/+/183021 Tested-by: Mickael Istria <mistria@redhat.com> Reviewed-by: Mickael Istria <mistria@redhat.com>
diff --git a/Jenkinsfile b/Jenkinsfile index e10b55c..43a42b0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile
@@ -22,15 +22,14 @@ sh """ mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=$WORKSPACE/.m2/repository \ -Pbuild-individual-bundles -Pbree-libs -Papi-check \ - -DskipTests=false -Dcompare-version-with-baselines.skip=false \ - -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true \ + -Dcompare-version-with-baselines.skip=false \ -Dmaven.compiler.failOnWarning=true -Dproject.build.sourceEncoding=UTF-8 """ } } post { always { - archiveArtifacts artifacts: '.*log,*/target/work/data/.metadata/.*log,*/tests/target/work/data/.metadata/.*log,apiAnalyzer-workspace/.metadata/.*log' + 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' publishIssues issues:[scanForIssues(tool: java()), scanForIssues(tool: mavenConsole())] }