Use Appveyor to push to local azure blob emulator.

chris.reeder's Avatar


28 Dec, 2017 07:34 PM

I'm trying to set up Appveyor to publish my files to blob storage after a commit. Which I found the page in your docs detailing how to setup that file. It all seems pretty straight forward, but I would like to test that to my local Azure Blob Storage Emulator and I haven't found any docs on how to do that.

I'm wondering if that this possible?



  1. Support Staff 1 Posted by Ilya Finkelshte... on 28 Dec, 2017 08:28 PM

    Ilya Finkelshteyn's Avatar

    Hi Chris,

    AppVeyor builds are running on VMs which are pretty "far" from your machine :) So to make local Azure Blob Storage Emulator accessible for AppVeyor VMs, you have to make it listen on publicly accessible IP. You can try to get public IP and tweak Emulator to use that IP for BlobEndpoint (never tried that), but I do not think it is necessary. AppVeyor build VMs have Microsoft Azure Storage Emulator 5.2 installed, so you can use it. Those 2 commands at install stage will help you get started:

    - "%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" start
    - "%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" status

    Also note that you can RDP to build VM and troubleshoot while tuning your build.


  2. 2 Posted by chris.reeder on 29 Dec, 2017 03:13 AM

    chris.reeder's Avatar

    Thanks for the direction.
    I have another question. So how our git repo is set up right now we have 6 different main folders. How we need it to work is each folder gets pushed to its own unique azure blob on commit, and only if that folder has been modified.

    Do you think that is possible with the configurations Appveyor has?

    Thanks for your help.


  3. Support Staff 3 Posted by Ilya Finkelshte... on 29 Dec, 2017 11:22 PM

    Ilya Finkelshteyn's Avatar

    Hi Chris,

    What you can do is set up 6 different AppVeyor projects and use commit filtering to run specific project build only if specific folder is modified. Each project will deploy to appropriate Azure blob.

    Alternatively you can create 6 deployment Environments (difference), and create a script which will check changed folder with GitHub API (sample) and then start appropriate Environment deployment(s) (sample)


  4. 4 Posted by chris.reeder on 03 Jan, 2018 03:11 AM

    chris.reeder's Avatar

    Hey Ilya,

    Thanks for he tip, seems to be working! I just keep running into an issue where it needs a build phase and I've gone into the settings and turned it off. Which was working but now seems to not be working.

    I would like to configure the yml file to not have any build what so ever since I'll i need to do is push the file to an azure blob as is.

    Later on I will need to run webpack to compress/gzip the files before they are pushed to the blob, but that is about it..

    Any thoughts or ideas?

    Thanks again for all your help!


  5. Support Staff 5 Posted by Ilya Finkelshte... on 03 Jan, 2018 03:20 AM

    Ilya Finkelshteyn's Avatar

    I wonder if you hit issue with the same root cause is here. When you create several AppVeyor projects targeting the same repository, you need create custom YAML file for each of them. Alternatively you can use UI only configuration but this will not work for you as commit filtering is not exposed in UI. So please ensure that each project has separate custom YAML file and let us know if this helps.

  6. 6 Posted by chris.reeder on 03 Jan, 2018 04:43 PM

    chris.reeder's Avatar

    Yea I changed a few things and all that does seem like the issue I was having. Thanks for the help.

    Everything seems to be deploying to the correct azure blob, but I'm wondering if there is a way to only push up the modified files?

    Been searching through your docs and I can't seem to find anything specific for the Azure Blob provider. Or would I need to write something custom?

    Thanks for all your help!


  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:25 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