Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Created June 16, 2020 18:49
Show Gist options
  • Save eliasnogueira/fc0d4bd9730043f66843ea52071d53f5 to your computer and use it in GitHub Desktop.
Save eliasnogueira/fc0d4bd9730043f66843ea52071d53f5 to your computer and use it in GitHub Desktop.
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