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

Hello,

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
http://blog.jonnyzzz.name/2012/07/agent-parameters-story-updated.html
to learn more aboud agent-side parameters resolutoin.

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

0

Please sign in to leave a comment.