Skip to content

Commit

Permalink
Maven:
Browse files Browse the repository at this point in the history
- Updated Maven plugins to latest versions

CI/CD:
- Added stages in case further automation is desired down the line
  • Loading branch information
mciolkosz committed Aug 18, 2022
1 parent 774793a commit eb40fb1
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 188 deletions.
10 changes: 7 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@ cache:
paths:
- .m2/repository

# Builds the Maven project. "-B" is for batch mode
build:
stages:
- compile

# Compiles the Maven project. "-B" is for batch mode
compile:
stage: compile
script:
- "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/"
#- "export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/"
- "mvn compile -B"
- "mvn clean validate compile -B"
- "unset JAVA_HOME"
Loading

0 comments on commit eb40fb1

Please sign in to comment.