Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Created June 16, 2020 18:49
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
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