report status for runs with test discovery

This commit is contained in:
Sergey Ignatov
2018-03-14 19:15:35 +03:00
parent e21c7f6886
commit f37dfec555
@@ -188,12 +188,15 @@ class TestingTasksImpl extends TestingTasks {
'teamcity-build-type-id' : System.getProperty('teamcity.buildType.id'),
'teamcity-build-configuration-name': System.getenv('TEAMCITY_BUILDCONF_NAME'),
'teamcity-build-project-name' : System.getenv('TEAMCITY_PROJECT_NAME'),
'branch' : System.getProperty('intellij.platform.vcs.branch') ?: 'master',
'project' : 'intellij',
])
}
catch (Exception e) {
context.messages.error(e.message, e)
}
}
context.messages.buildStatus("Runned with Test Discovery, {build.status.text}")
}
}