Defining common parameters across projects
Hi
Is there a way to define a parameter in a single location, which all projects can access?
I'd like to create a prefix string parameter which all projects running on my TC server can access and reference in their 'Build number format' field in the General Configuration settings tab.
I have a common string that all projects use in their build number format, which gets updated after every release. Right now I have to go into each project and change the string value. I'd rather just have to change it in one place, and all project configurations would properly reference the new value in their next run
I see how to create a parameter which all configurations within a single project can access, but I haven't found an easy way to do the same across all projects
Any suggestions is appreciated
thanks
Michael
Please sign in to leave a comment.
Hi Michael
Please vote for this feature request in TW-11202.
Thanks
Thanks for responding, Michael. I voted for the feature you linked to
But, isn't there a way to do this already using the teamcity.default.properties file? I tried playing with adding parameters to that file, but had trouble getting it to work - so was looking for alternate solutions.
Michael
teamcity.default.properties file as another way to define build parameters, but it's not global too.
This file should be put into VCS, and be included in all your configurations.