As part of my build process I calculate and set the version number via a post to the build agent API.
This works in terms of setting the version number shown in the history but it doesn't appear to update the environment variable meaning I have to get slightly creative to pass the value to a later step in the process (I need a playground to see how all this stuff interacts!)

#1 Posted by Feodor Fitsner Support staff on 05 Jun, 2014 05:12 PM
Good catch, will add that to issues! Thanks.
#2 Posted by James Murphy on 06 Aug, 2014 11:13 AM
Still doesn't assuming my incantation to create an artifact is right:
#3 Posted by Feodor Fitsner Support staff on 06 Aug, 2014 10:51 PM
As a workaround you can just set this variable in the same place where you call Build API, kind of:
#4 Posted by James Murphy on 27 Nov, 2014 09:38 AM
Yay, I see you have this working right now
James Murphy closed this discussion on 27 Nov, 2014 09:38 AM.