Update .gitlab-ci.yml file
This commit is contained in:
21
.gitlab-ci.yml
Normal file
21
.gitlab-ci.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
image: maven:3.9.1-eclipse-temurin-17
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- .m2/repository
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- echo "Maven Build started..."
|
||||
- "mvn compile"
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- echo "Maven Test started..."
|
||||
- "mvn test"
|
||||
Reference in New Issue
Block a user