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