From f37dfec555be0794429565f3969e5b001f63619f Mon Sep 17 00:00:00 2001 From: Sergey Ignatov Date: Wed, 14 Mar 2018 19:12:35 +0300 Subject: [PATCH] report status for runs with test discovery --- .../org/jetbrains/intellij/build/impl/TestingTasksImpl.groovy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/TestingTasksImpl.groovy b/platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/TestingTasksImpl.groovy index 974f72428736..80a029a5f9a0 100644 --- a/platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/TestingTasksImpl.groovy +++ b/platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/TestingTasksImpl.groovy @@ -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}") } }