Autoincrementer with TeamCity 7
I was trying to use the Autoincrementer plugin (the 6.5.x compatible version) with TC7, and it seems to load the plugin properly but when I try to use an %autoinc.<property>% none of my builds will run. All the build agents show incompatible because:
Unmet requirements:
- autoinc.threesixtybl exists
Please sign in to leave a comment.
Looks strange. It works for me without any additional configuration.
I have the same problem here. Incompatible agent when trying to use that variable. Tried restarting both server and agent. Did you get any further with a solution? Or just not use the plugin?
I've met the same problem with TC9 (9.0.2 (build 32195)) and Autoincrementer support >= 8.0.
autoincr property does not work if specified in
Runner type: Command Line
Command parameters: %build.number%.%autoinc.my_var%
No suitable agent in this case because of implicit requirement.
But it does work as expected if specified in Project template:
Build number format: %build.number%.%autoinc.my_var%
I suppose not all fields are handled by extended property substitution (which includes support for external plugins) algorithm. I did not perform all fields checking to detect those where substitution does not work.
I hope it will be fixed in TC or autoincrementer future releases.