Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Helmholtz Cloud Portal
Webapp
Commits
209faf50
Commit
209faf50
authored
Sep 22, 2020
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
209faf50
...
...
@@ -2,8 +2,8 @@ stages:
-
build
-
test
-
test_sonar
-
package
-
deploy
-
trigger
variables
:
MAVEN_CLI_OPTS
:
"
-s
.m2/settings.xml
--batch-mode"
...
...
.gitlab/ci/ci.yml
View file @
209faf50
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment