Closed seregamorph closed 2 years ago
Hi @seregamorph
My code is just calling sBuild.getStatusDescriptor().getText()
. The actual text comes from TeamCity. This looks like it could be a bug in TeamCity.
Question asked of TeamCity support: https://youtrack.jetbrains.com/issue/TW-67780
In this case it looks like a bug on the TeamCity side.
Just for your information. On latest TeamCity 2020.2 I still have this issue:
TeamCity UI message: Tests passed: 1400; Build chain finished (success: 2, failed: 1)
Notification text: Tests passed: 1400; Build chain finished (success: 2, failed: 2)
Will dup this message to YouTrack
I don't think there is anything I can do to resolve this issue. Hopefully they can fix it in TeamCity.
I have a composite build of three dependencies:
When I execute it and two of three dep fails, the teamcity UI reports looks correct (success 1, failed 2):
But the payload (legacy json) has wrong message field
buildStatus
:Expected Behavior
Message in hook payload should match teamcity UI.
Current Behavior
Wrong message (illegal count of failed tasks)
Steps to Reproduce (for bugs)
Your Environment
Example Configuration (xml)