Skip to content
Snippets Groups Projects
Commit 07a33b5e authored by zabiulla.ahmadi's avatar zabiulla.ahmadi
Browse files

add ci/cd

parent a31033da
No related branches found
No related tags found
No related merge requests found
Pipeline #22514 passed
stages:
- build
- quality
- deploy
default:
image: maven:3.8.6-openjdk-18
cache:
paths:
- .cache/repository
# - dependances/
variables:
MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.cache/repository"
build-backend:
stage: build
script:
- mvn clean compile
artifacts:
paths:
- target/
expire_in: 1 hour
test-backend:
stage: quality
script:
- mvn test
# dependencies:
# - build-backend
package-backend:
stage: deploy
script:
- mvn package
artifacts:
paths:
- target/starter-1.0.0-SNAPSHOT-fat.jar
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment