nunit / teamcity-event-listener

NUnit Engine extension that helps integration with teamcity
MIT License
11 stars 10 forks source link

'message' attribute used instead of 'text' attribute on "message" service message #61

Closed aw129 closed 5 years ago

aw129 commented 5 years ago

When we upgraded to version 1.0.4 we started getting the following warnings in our build output:

[13:20:29][Step 9/12] ##teamcity[message message='...' flowId='0-1087' tc:tags='tc:parseServiceMessagesInside']
[13:20:32][Step 9/12] Attribute 'text' is not specified in service message {##teamcity[message tc:tags='tc:parseServiceMessagesInside' message='...' flowId='0-1087']}

Looking at the TeamCity documentation the message='...' should be text='...', e.g.

[13:20:29][Step 9/12] ##teamcity[message text='...' flowId='0-1087' tc:tags='tc:parseServiceMessagesInside']

I believe the issue is in ServiceMessageAttr.cs:

            public const string Message = "message";
NikolayPianikov commented 5 years ago

@aw129 thank you for info. The issue was fixed. Try using this package

aw129 commented 5 years ago

@NikolayPianikov we've tried that package and the messages come through into the team city log without issue. Thanks the for really quick turn around on this.