Commit 0fd87b60 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

CI: added upload of gms-lib.jar to Maven repo

parent 2c3d47cf
Pipeline #6988 passed with stages
in 8 minutes and 36 seconds
......@@ -56,6 +56,27 @@ deploy_gms_client:
-DpomFile=gms-client/gms-client/pom.xml
-Durl=${IA2_MVN_REPO_SNAPSHOTS}
deploy_gms_lib:
stage: deploy
tags:
- docker
script:
- cd gms
- mvn clean package -DskipTests
- version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
- mvn deploy:deploy-file
-Dfile=target/gms-lib.jar
-DartifactId=gms
-DgroupId=it.inaf.ia2
-Dclassifier=lib
-DrepositoryId=ia2.snapshots
-Dversion=$version
-Durl=${IA2_MVN_REPO_SNAPSHOTS}
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
changes:
- gms/*
dockerize_db:
stage: deploy
tags:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment