I have several build steps that use command line with custom scripts. And i want to use teamcity messages. Like this ones:
##teamcity[message 'value']
##teamcity[buildNumber '<new build number>']
##teamcity[buildStatus status='<status value>' text='<text>']
But it seems that this commands are not working at all. What's wrong with them? Is it possible to run this commands in shell scripts in teamcity? Any ideas how to use them?
In a shell script, use
echo "##teamcity[buildStatus status='<status value>' text='<text>']"
Here is the detailed docs for TeamCity 2020.2.