Updating Build Counters using the REST API

Hi,

We create new projects and branches on a regular basis as part of our development cycle.  We've been able to automate much of the copying process with careful use of powershell to call the API, but one thing that we can not find a way of managnig is the setting and resetting of the Build Counters as we copy projects.  Is this possible in the REST Api, or when will it be possible, please.

Thank you,

Jeremy Pope.

2 comments
Comment actions Permalink

As long as you are using at least version 7 and as per the REST API doc at http://confluence.jetbrains.com/display/TW/REST+API+Plugin try:

http://teamcity:8111/httpAuth/app/rest/buildTypes/<buildTypeLocator>/settings/buildNumberCounter

0
Comment actions Permalink

Thanks Nathan.  Works perfectly and is helping us fully automate Teamcity Project copying to support our branching strategy.

Jeremy Pope.

0

Please sign in to leave a comment.