Commit 209faf50 authored by femiadeyemi's avatar femiadeyemi
Browse files

separate deploy of artifact from trigger of

a downstream ci pipeline.
parent f38ed3b6
Pipeline #42590 failed with stages
in 11 minutes and 8 seconds
......@@ -2,8 +2,8 @@ stages:
- build
- test
- test_sonar
- package
- deploy
- trigger
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
......
......@@ -58,24 +58,19 @@ test_node14:
- apt-get install -y google-chrome-stable
script: npm install-test
packaging:
deploy:
only:
- master
- merge_requests
stage: package
stage: deploy
image: maven:latest
script: "mvn -DskipTests clean package"
artifacts:
paths:
- "target/*.jar"
expire_in: 600 seconds
script: mvn $MAVEN_CLI_OPTS deploy
deploy:
trigger:
only:
- master
- merge_requests
stage: deploy
image: maven:latest
script: mvn $MAVEN_CLI_OPTS deploy
stage: trigger
trigger:
project: hifis-technical-platform/helmholtz-marketplace-server
Markdown is supported
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