Azure Cloud Service - Custom Deployment Label
Hello there,
I was wondering whether it is already possible or whether I might suggest customizing the 'Deployment Label' as it shows up in the Azure management site for an Azure Cloud Service deployment?
Basically right now a the build {version} seems to be set there, but what would be great is if I could customize that, e.g. have my git commit sha1 show up there that triggered the build & deployment.
Is that somehow possible already or something potentially possible in the future?
Cheers and thanks,
-J
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 16 Feb, 2015 09:31 PM
Hi Jorg,
We can add that option and deploy update this week. Currently, it's hard-coded to
{version}
.2 Posted by Jörg B. on 16 Feb, 2015 10:05 PM
Awesome, thanks Feodor!
Support Staff 3 Posted by Feodor Fitsner on 20 Feb, 2015 05:12 AM
Jorg,
An update has been deployed. There is a new
deployment_label
setting forAzureCS
deployment provider.4 Posted by Jörg B. on 26 Feb, 2015 09:24 PM
Woohoo! nice! I am currently implementing a larger feature-set on a separate branch and not deploying until it's done, but I'll give it a try then! Thanks!!
5 Posted by Jörg B. on 01 Mar, 2015 04:30 PM
Alright, first deployment and apparently I did it wrong (TM) - the label in Azure is '{version}-{commitId}' now (exactly how I specified it in the Environment's settings).
What would be the correct syntax for '<Build Version>-<Commit SHA>' ... Build version being e.g. 0.0.41 etc.
Thanks!
-J
Support Staff 6 Posted by Feodor Fitsner on 01 Mar, 2015 04:44 PM
Use '$(variable)' syntax like in any other deployment provider settings. The list of standard environment variables: http://www.appveyor.com/docs/environment-variables
-Feodor
7 Posted by Jörg B. on 01 Mar, 2015 09:17 PM
Perfect - that worked! Thanks!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.