What is the Parameter for BuildStep.Name?

I would like to add the name of the build step that is failing to the notification templates.  I have found the path where notification templates are stored however cannot find any reference to the property name (ie "jetbrains.buildServer.serverSide.SProject") that references the actual step.  I've looked through the "Server-side Object Model" docs but cannot seem to find it.

1 comment
Comment actions Permalink


There is a configuration parameter called 'teamcity.build.step.name'. It will only be available for build step context.
You may reference it.

You may also consider to use jetbrains.buildServer.serverSide.BuildStartContextProcessor class on the server
to get access to parameters that are sent to agent. See the post
to learn more aboud agent-side parameters resolutoin.

Currently server does not know much about per-build step failures.


Please sign in to leave a comment.