3 Replies Last post: Jul 1, 2015 5:04 PM by Sergey Uzhakov  
Mark Warpool Newbie 37 posts since
Aug 5, 2011
Currently Being Moderated

Mar 7, 2012 7:21 PM

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      
Eduard Kibort Newbie 36 posts since
Sep 2, 2011
Currently Being Moderated
Mar 28, 2012 11:13 AM in response to: Mark Warpool
Re: Autoincrementer with TeamCity 7

Looks strange. It works for me without any additional configuration.

Kevin Blake Newbie 1 posts since
Oct 31, 2012
Currently Being Moderated
Oct 31, 2012 2:48 PM in response to: Eduard Kibort
Re: Autoincrementer with TeamCity 7

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?

Sergey Uzhakov Newbie 1 posts since
Jul 1, 2015
Currently Being Moderated
Jul 1, 2015 5:04 PM in response to: Mark Warpool
Re: Autoincrementer with TeamCity 7

CodingGorilla wrote:

 

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      

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.

More Like This

  • Retrieving data ...