Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
dd709f65
Commit
dd709f65
authored
Nov 29, 2019
by
Matthias Betz
Browse files
Update .gitlab-ci.yml
parent
faa6ea50
Pipeline
#282
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
dd709f65
...
...
@@ -10,11 +10,12 @@ release:
script
:
-
mvn package -B
-
FILE= ls target/ | grep '\.zip$' | head -n
1
-
echo $FILE
-
echo $CI_PROJECT_ID
-
echo $CI_COMMIT_TAG
-
echo $
{
FILE
}
-
echo $
{
CI_PROJECT_ID
}
-
echo $
{
CI_COMMIT_TAG
}
-
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
:
refs
:
-
master
...
...
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