java.lang.NumberFormatException: For input string: "${builds.count}"
We have upgraded Teamcity server from 7.x to 8.1 and builds are failing with this error:
java.lang.NumberFormatException: For input string: "${builds.count}"
Could someone help. Any plugin is missing now?
Please sign in to leave a comment.
We have migrated from TC 7.x to 8.1.1 and facing some issues with REST API:
The below query with TC 7.x
http://${tc.server.ip}/httpAuth/app/rest/buildTypes/id:@{build.id}/builds?locator=running:true
Gave this output:
<builds count=0>
Same query with 8.1 is giving the below output:
<builds href="/ttpAuth/app/rest/buildTypes/id:@{build.id}/builds?locator=running:true"/>
Has anything changed with the REST APIs now. How could we get them working now.
Hello, you can provide exact REST API version in request to use the old behaviour: http://confluence.jetbrains.com/display/TCD8/REST+API#RESTAPI-RESTAPIVersions.
In your case it would be http://${tc.server.ip}/httpAuth/app/rest/7.0/buildTypes/id:@{build.id}/builds?locator=running:true