X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=.gitlab-ci.yml;h=01080680f807790d5c346c67e9acbda916f7cb3d;hb=01cf11d3e0b6127d612a101e0bdd393f3740a02f;hp=ff039dba47fa2bb66b3a32a665aae1499ab2bf64;hpb=85ce1e41615e9c530044a1e39d820a9d380afe34;p=Mograsim.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff039dba..01080680 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,16 @@ 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