X-Git-Url: https://mograsim.net/gitweb/?p=Mograsim.git;a=blobdiff_plain;f=.gitlab-ci.yml;h=91f3a8479c380a4fe453f9189b39cb116bd24ff5;hp=ff039dba47fa2bb66b3a32a665aae1499ab2bf64;hb=HEAD;hpb=85ce1e41615e9c530044a1e39d820a9d380afe34 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff039dba..91f3a847 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,12 +33,7 @@ cache: stages: - validate - test - -default: - before_script: - - cd TempMavenTychoSnapshotWorkaround - - mvn $MAVEN_CLI_OPTS clean # This is only temporary to resolve TYCHO 1.5.0-SNAPSHOT for the main build - - cd .. + - package_repo validate: stage: validate @@ -50,6 +45,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