From: Christian Femers Date: Wed, 16 Oct 2019 19:09:56 +0000 (+0200) Subject: Try modified pipeline with repository artifact X-Git-Url: https://mograsim.net/gitweb/?p=Mograsim.git;a=commitdiff_plain;h=8c8c66866e7373fc4e4cd4c6303d2042e8fb1f23 Try modified pipeline with repository artifact --- 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