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
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