Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SAREF
saref-pipeline
Commits
272c1af0
Commit
272c1af0
authored
Jul 26, 2021
by
Maxime Lefrançois
Browse files
Update .gitlab-ci.yml
parent
07b93f09
Pipeline
#394
failed with stages
in 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
272c1af0
image
:
maven:3.6.2-jdk-8
variables
:
SAREF_PORTAL_KEY
:
<my_private_key>
build
:
stage
:
build
script
:
...
...
@@ -10,4 +13,13 @@ build:
only
:
-
master
deploy
:
stage
:
deploy
script
:
-
eval $(ssh-agent -s)
-
ssh-add <(echo "$SAREF_PORTAL_KEY")
-
mkdir -p ~/.ssh
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
-
scp -pr target/saref-pipeline.jar saref-dev@saref.etsi.org:~/saref-pipeline.jar
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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