Changing project level parameter

Dear All,

I was wondering if it is possible to change the project level parameter in a team city project from a particular build configuration. So basically, we create a number in one of the build configuration and we need to update the project level parameter with that number so that it is available to all following teamcity build configurations.

Thank you very much,
Kumar

3 comments
Comment actions Permalink

Hello, Kumar.
Project level parameter redefined in build configuration affects only this build configuration.

Could you decribe in more details your use case?

0
Comment actions Permalink

Thanks for the reply Inna.

Basically I wanted to redefine the project level parameter, so that the the new value for project level parameter should be available for all build configurations in the project.

We have one build configuration (build1) that does few things and creates a new directory with the name as timestamp (e.g. timestamp1), in svn everytime it is run.

Now there are several (about 30) build configurations in the same project that has its svn checkout directory configured as the value for a project level parameter (parameter1) so that checkout happens from the newly created directory on svn. Currently we manually update the project level parameter (parameter1) with the new timestamp (timestamp1) and then run the remaining builds (about 30). I was wondering if we could automatically update the project level parameter (parameter1) with the new timestamp everytime build1 is run. (may be with teamcity api). so that the new timestamp is available to all build configurations (about 30) for its checkout.

Please ask me if something is not clear.

Thanks,
Kumar

0
Comment actions Permalink

I am using teamcity 6.5 and I just came to know that this functionality is available in teamcity api 7.0.
so this topic can be marked as solved. :)

0

Please sign in to leave a comment.