diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21db9fcd1d726bb7f079be991dff7e9d853670d5..8bd5b1260dc55ee57609da57c2b02790ba15d744 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: