updated CI/CD

parent af9e7774
Pipeline #4706 passed with stages
in 24 seconds
......@@ -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/
......
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