Problem trying to add label using CURL

Atul Bhingarde January 24, 2018

I am trying to attach a label using following command 

curl -X POST --user `(echo -n ${credentials} | base64 -d)` -H "Content-Type: application/json" -d '{"name":"'"$REQUEST"'"}' ${baseurl_for_results}/${PROJECT_NAME}-${PLAN_NAME}-${BuildNumber}/label

The value of $REQUEST is attached as a label to the build number but it converts case to lower is there any way to keep the value of $REQUEST as is ?

0 answers

Suggest an answer

Log in or Sign up to answer