Skip to content

Commit

Permalink
Add GitLab CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mrts committed Sep 19, 2023
1 parent d26346e commit 839e7ad
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
stages:
- build-test-and-package

variables:
MAVEN_CLI_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository --batch-mode"
JAVA_HOME: "/usr/lib/jvm/java-11-openjdk-amd64"

cache:
paths:
- .m2/repository/

build-test-and-package:
stage: build-test-and-package
script:
- mvn $MAVEN_CLI_OPTS clean package

0 comments on commit 839e7ad

Please sign in to comment.