Problems with ##teamcity[message...]
Hello,
I have successfully transformed gcc output into the following:
##teamcity[message text='GeoROG/GCore/GCore.h:54' errorDetails='|'typedef|' was ignored in this declaration' status='WARNING']
##teamcity[message text='GeoROG/GCore/GCore.h:63' errorDetails='|'typedef|' was ignored in this declaration' status='WARNING']
##teamcity[message text='GeoROG/GCore/GCore.h:65' errorDetails='|'typedef|' was ignored in this declaration' status='WARNING']
##teamcity[message text='GeoROG/GCore/GCore.h:66' errorDetails='|'typedef|' was ignored in this declaration' status='WARNING']
##teamcity[message text='GeoROG/GCore/GCore.h:67' errorDetails='|'typedef|' was ignored in this declaration' status='WARNING']
##teamcity[message text='GeoROG/GCore/GCore.h:69' errorDetails='|'typedef|' was ignored in this declaration' status='WARNING']
##teamcity[message text='GeoROG/GCore/GCore.h:72' errorDetails='|'typedef|' was ignored in this declaration' status='WARNING']
##teamcity[message text='GeoROG/GCore/GCore.h:77' errorDetails='|'typedef|' was ignored in this declaration' status='WARNING']
Thanks in advance!
Regards,
Daniel Lidström
Please sign in to leave a comment.
The errorDetails attribute is used only if status is ERROR, in other cases it is ignored. In your case however this is a warning, not error, so I guess you should move text from the errorDetails to the text attribute.