Changing build version via service message doesn't work after Teamcity version upgrade to 10.0.4

Answered

Hi All

I am updating build version using powershell script as the first Teamcity build step. This used to work fine before but stopped working after Teamcity upgrade to version 10.0.4.

I am updating the build number as described in the document. Please see below;

Write-Output "##teamcity[buildNumber '$version.$buildcounter.0']"

The build output displays it the build number correctly.

[Step 1/9] ##*******[buildNumber '222.2.115.0']

But Teamcity build number doesnt get updated after this step. It used to update before the Teamcity upgrade. 

0
1 comment

Hello,

As the word "teamcity" is replaced with "*******", then most probably you have added password parameter with value="teamcity". TeamCity makes the value of the password parameter never appear in the TeamCity Web UI, e.g. the value is replaced in the build log. Please check your parameters and use more complex password. 

0

Please sign in to leave a comment.