nunit / teamcity-event-listener

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

Use TeamCity parent flow Id #53

Closed Gargony closed 6 years ago

Gargony commented 6 years ago

The TeamCity provide the main process flow id in environment variable "TEAMCITY_PROCESS_FLOW_ID" Please use this value as parent if it is a top event. https://github.com/nunit/teamcity-event-listener/blob/master/src/extension/TeamCityEventListener.cs : 106 use var flowId = Environment.GetEnvironmentVariable("TEAMCITY_PROCESS_FLOW_ID"); instead of var flowId = ".";