Azure Cloud Service - Custom Deployment Label

Jörg B.'s Avatar

Jörg B.

16 Feb, 2015 09:26 PM

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,

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Feb, 2015 09:31 PM

    Feodor Fitsner's Avatar

    Hi Jorg,

    We can add that option and deploy update this week. Currently, it's hard-coded to {version}.

  2. 2 Posted by Jörg B. on 16 Feb, 2015 10:05 PM

    Jörg B.'s Avatar

    Awesome, thanks Feodor!

  3. Support Staff 3 Posted by Feodor Fitsner on 20 Feb, 2015 05:12 AM

    Feodor Fitsner's Avatar


    An update has been deployed. There is a new deployment_label setting for AzureCS deployment provider.

  4. 4 Posted by Jörg B. on 26 Feb, 2015 09:24 PM

    Jörg B.'s Avatar

    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. 5 Posted by Jörg B. on 01 Mar, 2015 04:30 PM

    Jörg B.'s Avatar

    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.


  6. Support Staff 6 Posted by Feodor Fitsner on 01 Mar, 2015 04:44 PM

    Feodor Fitsner's Avatar

    Use '$(variable)' syntax like in any other deployment provider settings. The list of standard environment variables:


  7. 7 Posted by Jörg B. on 01 Mar, 2015 09:17 PM

    Jörg B.'s Avatar

    Perfect - that worked! Thanks!

  8. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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