Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of a pipeline script using GitLab CI
image: markhobson/maven-chrome:jdk-11
stages:
- build
- test
variables:
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
cache:
paths:
- .m2/repository/
- target/
build:
stage: build
script:
- mvn compile
test:
stage: test
script:
- mvn test -Dtest=com.eliasnogueira.wdm.GithubWDMPageTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.