Access TeamCity project properties inside the build script?

Is there any way to access TeamCity project or build configuration properties from inside the build script? I know there are variables and properties for the build number and working directory, but what about things like the project name?

I realise I could manually create a variable with the same value as the project name, but we change the project name for every release of the application and it's easy to forget to keep the two in sync. We're using .NET 2.0 with MSBuild.

Thanks in advance for any help!

2 comments
Comment actions Permalink

Hello,

Currently there is no way to access project name as system property (but in fact, project name is the name of the directory your project is being built in).
If you need this or possibly some other properties, please file Jira request for that at:
http://www.jetbrains.net/jira/browse/TW

Kind regards,
KIR

0

Please sign in to leave a comment.