MPROMEditor now calls its columns "Opcode" and "muPC"
[Mograsim.git] / .gitlab-ci.yml
index ff039db..91f3a84 100644 (file)
@@ -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