Is it possible to use teamcity message from shell scripts?

I have several build steps that use a command line with custom scripts. And I want to use teamcity messages. Like this:

##teamcity[message 'value'] ##teamcity[buildNumber '<new build number>'] ##teamcity[buildStatus status='<status value>' text='<text>'] 

But it seems that these commands do not work at all. What is wrong with them? Is it possible to run these commands in shell scripts in teamcity? Any ideas on how to use them?

+6
source share
1 answer

In the shell script, use echo "## teamcity [buildStatus status = '' text = '']”

Here are the detailed documents for TeamCity 8.x.

+12
source

Source: https://habr.com/ru/post/886783/


All Articles