Commit dd709f65 authored by Matthias Betz's avatar Matthias Betz
Browse files

Update .gitlab-ci.yml

parent faa6ea50
Pipeline #282 passed with stage
in 9 seconds
Showing with 5 additions and 4 deletions
+5 -4
...@@ -10,11 +10,12 @@ release: ...@@ -10,11 +10,12 @@ release:
script: script:
- mvn package -B - mvn package -B
- FILE= ls target/ | grep '\.zip$' | head -n 1 - FILE= ls target/ | grep '\.zip$' | head -n 1
- echo $FILE - echo ${FILE}
- echo $CI_PROJECT_ID - echo ${CI_PROJECT_ID}
- echo $CI_COMMIT_TAG - echo ${CI_COMMIT_TAG}
- echo ${CI_API_V4_URL} - echo ${CI_API_V4_URL}
# - curl --request POST --header "PRIVATE-TOKEN: ${TOKEN}" --form "file=@${FILE}" # - curl --request POST --header "PRIVATE-TOKEN: ${TOKEN}" --form "file=@${FILE}" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/uploads
- echo '{"hostname":"test","domainname":"example.com"}' | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["hostname"]'
only: only:
refs: refs:
- master - master
......
Supports Markdown
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