Skip to content
Snippets Groups Projects
Commit 1720dc6b authored by Hallvard Trætteberg's avatar Hallvard Trætteberg
Browse files

Update .gitlab-ci.yml

parent c2791cc8
No related branches found
No related tags found
No related merge requests found
Pipeline #144885 canceled
image: maven:3.8.3-openjdk-17 image: maven:3.8.3-openjdk-17
variables:
MAVEN_OPTS: "-DskipUiTests=true"
MAVEN_CLI_OPTS: "--batch-mode -P headless"
stages: stages:
- test - test
- build - build
cache:
paths:
- .m2/repository
key: "$CI_BUILD_REF_NAME"
test: test:
stage: test stage: test
script: script:
- cd todolist; mvn test -B -P headless "-DskipUiTests=true" - mvn clean test -f todolist/pom.xml
build: build:
stage: build stage: build
when: manual when: manual
script: script:
- cd todolist; mvn install -B -P headless "-DskipUiTests=true" - mvn clean install -f todolist/pom.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment