Skip to content
Snippets Groups Projects
Commit 6881a44e authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Added CI

parent f01757a1
No related branches found
No related tags found
No related merge requests found
Pipeline #2118 passed
stages:
- build
- deploy
build:
stage: build
tags:
- docker
image: maven:3.6.3-openjdk-14
script:
- mvn clean package -Pbuild-jar
artifacts:
paths:
- target/vospace-parent*.jar
- pom.xml
expire_in: 7 days
only:
- master
deploy:
stage: deploy
tags:
- docker
script:
- mvn deploy:deploy-file
-Dfile=pom.xml
-DrepositoryId=ia2.snapshots
-DpomFile=pom.xml
-Durl=${IA2_MVN_REPO_SNAPSHOTS}
- file=$(ls target/vospace-parent*.jar)
- mvn deploy:deploy-file
-Dfile=$file
-DrepositoryId=ia2.snapshots
-DpomFile=pom.xml
-Durl=${IA2_MVN_REPO_SNAPSHOTS}
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment