Commit 5180d9f7 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Added jar upload in CI

parent 20da51f8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ stages:
  - build
  - generate-test-env
  - test
  - publish
  - dockerize

variables:
@@ -51,6 +52,13 @@ test:
  only:
    - master

upload_jar:
  stage: publish
  tags:
    - shell
  script:
    - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file target/vospace.jar "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/vospace-rest/latest/vospace-rest.jar"'

dockerize:
  stage: dockerize
  tags: