X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=.gitlab-ci.yml;h=01080680f807790d5c346c67e9acbda916f7cb3d;hb=01cf11d3e0b6127d612a101e0bdd393f3740a02f;hp=2753073832478202f8fdc87e51a0867970066826;hpb=7d05144c25daa53e60fc9ed9fd503546a86567f8;p=Mograsim.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 27530738..01080680 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,11 +33,13 @@ cache: stages: - validate - test + - package_repo 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 net.mograsim + - cd .. validate: stage: validate @@ -49,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