Skip to content
Snippets Groups Projects
Commit e493959e authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

used direct URL in ci

parent 0458e36c
No related branches found
No related tags found
2 merge requests!6Merging 2024Q2_RC into main, creating 2024Q2 Release,!1Resolve "Create a pipeline to build and publish the mvn package in gitlab registry"
Pipeline #3536 failed
......@@ -4,7 +4,5 @@ stages:
deploy:
stage: deploy
image: maven:3.9.5-ibm-semeru-17-focal
before_script:
- echo $CI_API_V4_URL
script:
- 'mvn deploy -s ci_settings.xml'
- mvn deploy -s ci_settings.xml -Drepo.url=${CI_API_V4_URL}/projects/276/packages/maven
......@@ -23,17 +23,17 @@
<repositories>
<repository>
<id>gitlab-maven</id>
<url>${CI_API_V4_URL}/projects/276/packages/maven</url>
<url>${repo.url}</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>gitlab-maven</id>
<url>${CI_API_V4_URL}/projects/276/packages/maven</url>
<url>${repo.url}</url>
</repository>
<snapshotRepository>
<id>gitlab-maven</id>
<url>${CI_API_V4_URL}/projects/276/packages/maven</url>
<url>${repo.url}</url>
</snapshotRepository>
</distributionManagement>
......
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