From 8c8c66866e7373fc4e4cd4c6303d2042e8fb1f23 Mon Sep 17 00:00:00 2001 From: Christian Femers Date: Wed, 16 Oct 2019 21:09:56 +0200 Subject: [PATCH] Try modified pipeline with repository artifact --- .gitlab-ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff039dba..64f18749 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ cache: stages: - validate - test + - package_repo default: before_script: @@ -50,6 +51,15 @@ test: script: - mvn $MAVEN_CLI_OPTS verify artifacts: + when: on_failure + expire_in: 1 week reports: - junit: - - tests/*/target/surefire-reports/TEST-*.xml + junit: tests/*/target/surefire-reports/TEST-*.xml + +package_repo: + stage: package_repo + when: manual + script: + - mvn $MAVEN_CLI_OPTS verify + artifacts: + paths: releng/net.mograsim.plugin.updatesite/target/*.zip -- 2.17.1