Skip to content
Snippets Groups Projects
Commit 1add58d0 authored by Nicolas Borboën's avatar Nicolas Borboën
Browse files

Last try for $tee_stderr

parent 7b787749
No related branches found
No related tags found
No related merge requests found
Pipeline #16555 waiting for manual action
...@@ -37,7 +37,7 @@ git remote set-url origin "git@gitlab.epfl.ch:idevelop/howtogitlabrunner.git" ...@@ -37,7 +37,7 @@ git remote set-url origin "git@gitlab.epfl.ch:idevelop/howtogitlabrunner.git"
git push -f --tags git push -f --tags
echo "END OF PUSH" echo "END OF PUSH"
tee_stderr=cat # Permission denied on /proc/self/fd/2, wat? tee_stderr="perl -pe 'STDERR->print(\$_)'"
echo "BEGIN UPLOAD" echo "BEGIN UPLOAD"
UPLOADED_FILE_URL="$(curl --request POST --header "Private-Token: ${MY_TOKEN}" --form "file=@README.pdf" "https://gitlab.epfl.ch/api/v4/projects/$PROJECT_ID/uploads" | $tee_stderr | jq -r .url)" UPLOADED_FILE_URL="$(curl --request POST --header "Private-Token: ${MY_TOKEN}" --form "file=@README.pdf" "https://gitlab.epfl.ch/api/v4/projects/$PROJECT_ID/uploads" | $tee_stderr | jq -r .url)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment