Reputation: 19329
Description
In TeamCity, I set the {my project} > General Settings > Build number format
to the parameter %build.number%. Apparently TeamCity cannot resolve this parameter and I get #???
as my build number and also the warning message below:
Parameter "build.number=%build.number%" is not fully resolved, using as is.
Question
How can I use this parameter? Is there any special settings for that?
Basically I need the version of my project as my build number
Upvotes: 0
Views: 2427
Reputation: 391336
The name of that field is "build.number".
Hence, you've said that the value of "build.number" should be the value of "build.number". TeamCity is thus rightly confused.
You can use %build.number%
in the various build steps for a build configuration to refer to this field but when you're defining that field, you must use something else.
Upvotes: 2