Commit 953e9d50 authored by Matija Obreza's avatar Matija Obreza
Browse files

CI: Clean mvn build

parent 67e3f2ae
......@@ -34,7 +34,7 @@ run tests:
image: maven:3-openjdk-11
script:
# First do coverage testing
- mvn $MAVEN_CLI_OPTS --activate-profiles quality verify -U
- mvn $MAVEN_CLI_OPTS --activate-profiles quality clean verify -U
- cat coverage/target/site/jacoco-aggregate/index.html | grep -o 'Total[^%]*%'
coverage: '/Total.*?([0-9]{1,3})%/'
artifacts:
......@@ -55,7 +55,7 @@ package server:
- run tests
script:
# Then package the clean app
- mvn $MAVEN_CLI_OPTS -Ppackage package
- mvn $MAVEN_CLI_OPTS -Ppackage clean package
artifacts:
name: "${CI_PROJECT_NAME}-${CI_COMMIT_REF_NAME}"
expire_in: 1 day
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment