Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SAREF
saref4inma
Commits
618eb185
Unverified
Commit
618eb185
authored
Jul 27, 2020
by
Maxime Lefrançois
Browse files
updated CI/CD
parent
af9e7774
Pipeline
#225
passed with stages
in 24 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
.gitlab-ci.yml
.gitlab-ci.yml
+4
-4
No files found.
.gitlab-ci.yml
View file @
618eb185
...
...
@@ -18,7 +18,7 @@ stages:
test-develop
:
stage
:
test
script
:
-
curl -L -o saref-pipeline.jar "https://
gitlab.emse.fr/saref
/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
-
curl -L -o saref-pipeline.jar "https://
forge.etsi.org/rep/SAREF
/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
-
java -jar saref-pipeline.jar develop -s && touch target/success
allow_failure
:
true
except
:
...
...
@@ -35,7 +35,7 @@ test-develop:
test-prerelease
:
stage
:
test
script
:
-
curl -L -o saref-pipeline.jar "https://
gitlab.emse.fr/saref
/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
-
curl -L -o saref-pipeline.jar "https://
forge.etsi.org/rep/SAREF
/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
-
java -jar saref-pipeline.jar release -t && touch target/success
allow_failure
:
true
only
:
...
...
@@ -51,7 +51,7 @@ test-prerelease:
deploy-report
:
stage
:
deploy
script
:
-
scp -pr
'-P 29419'
target/site saref-dev@saref.etsi.org:~/snapshot/$CI_PIPELINE_ID
-
scp -pr target/site saref-dev@saref.etsi.org:~/snapshot/$CI_PIPELINE_ID
-
echo "SAREF pipeline report https://saref.etsi.org/snapshot/$CI_PIPELINE_ID/report.html"
-
exit $(test -f target/success) $?
except
:
...
...
@@ -60,7 +60,7 @@ deploy-report:
test-release
:
stage
:
test
script
:
-
curl -L -o saref-pipeline.jar "https://
gitlab.emse.fr/saref
/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
-
curl -L -o saref-pipeline.jar "https://
forge.etsi.org/rep/SAREF
/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
-
java -jar saref-pipeline.jar release -t
only
:
-
/^release-v/
...
...
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