X-Git-Url: https://mograsim.net/gitweb/?p=Mograsim.git;a=blobdiff_plain;f=.gitlab-ci.yml;fp=.gitlab-ci.yml;h=64f187490a56e57ef76efe03765ebd16cd7f663a;hp=ff039dba47fa2bb66b3a32a665aae1499ab2bf64;hb=8c8c66866e7373fc4e4cd4c6303d2042e8fb1f23;hpb=39059bf5b97b2b6c3aaa1f98296d8f65cd2944be 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