I have the following:
VERSION=$(curl -Is https://qa.me.com.br | sed -n '/^x-powered-by:/Ip' | sed '/x-powered-by:/I s/x-powered-by: //Ig')
Expected variable result (but it has one more character that broke my result):
MEWeb - QA - 267_4_2548
After, I'm showing by the following:
echo "##teamcity[progressMessage 'Version is $VERSION']"
Expected (without '*'):
*##teamcity[progressMessage 'Version is MEWeb - QA - 267_4_2548']
Actual:
']##teamcity[progressMessage 'Version is MEWeb - QA - 267_4_2548
I don't know what is breaking my result. Thanks for help and sorry for my english!