Setting the version (via the API) doesn't update the environment variable
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!)
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner 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:
Support Staff 3 Posted by Feodor Fitsner 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.