Skip to content
Snippets Groups Projects
Commit 5589550f authored by Schlütter Yannik's avatar Schlütter Yannik
Browse files

Update .gitlab-ci.yml file

parent c4c6fabb
No related branches found
No related tags found
3 merge requests!74V1,!73Initial commit,!71Merge DataBase into Development
Pipeline #60139 failed
......@@ -9,29 +9,27 @@ variables:
MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository"
stages:
- build
- test
- package
- build
- test
- package
build-battlearena:
stage: build
image: maven:3.9.4-eclipse-temurin-20
script:
- "echo 'Starting Build Stage'"
- "mvn compile -X"
- "echo 'Starting Build Stage'"
- "mvn compile -X"
test-battlearena:
stage: test
image: maven:3.9.4-eclipse-temurin-20
script:
- "echo 'Starting Test Stage'"
- "mvn test"
- "echo 'Starting Test Stage'"
- "mvn test"
artifacts:
reports:
junit:
- target/surefire-reports/TEST-*.xml
- target/failsafe-reports/TEST-*.xml
- target/surefire-reports/TEST-*.xml
- target/failsafe-reports/TEST-*.xml
package-battlearena:
stage: package
image: maven:3.9.4-eclipse-temurin-20
......@@ -40,8 +38,8 @@ package-battlearena:
- "mvn package"
only:
refs:
- main
- main
artifacts:
paths:
- target/*.jar
- target/*.jar
expire_in: 2 days
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment