Batch Deployment Environment

James White's Avatar

James White

11 Jun, 2015 01:26 PM

I'm running into trouble using Web Deploy and an ASP.NET 5 project as they've changed the target folder structure and the default Web Deploy doesn't work properly (puts wwwroot & approot into wwwroot folder). As it's probably a bit of a hassle to allow too much customization of the Web Deploy provider, would it be possible to add a batch or script deployment environment. You could download/unzip artifacts to a temp folder and then let the user run msdeploy the way one can if they are on a build machine.

If not, adding a checkbox for these to the Web Deploy options might suffice:


Web Deploy 3.6 Release Notes



  1. Support Staff 1 Posted by Feodor Fitsner on 11 Jun, 2015 06:33 PM

    Feodor Fitsner's Avatar

    Hi James,

    "Script" deployment provider could be implemented with an additional project. There could be a simple repo with just one PowerShell script downloading/unzipping and doing the deployment. Artifacts could be easily downloaded using PowerShell: I'm sure Web Deploy 3.6 can be downloaded and silently installed as well.

    I'm going to blog about this trick with "deployment projects" later this week.

    Anyway, we should base AppVeyor built-in Web Deploy provider on Web Deploy 3.6 with ASP.NET 5 support. I added a new issue:

  2. 2 Posted by James White on 11 Jun, 2015 07:19 PM

    James White's Avatar

    That makes sense, thanks!

  3. 3 Posted by jake on 13 Jun, 2016 11:39 AM

    jake's Avatar

    Hey Feodor,

    Would it be possible to create another deployment provider which is Trigger Build? That way we could set up a more explicit build chain invocation and we get the UI to select which build we want to deploy rather than just the latest.


  4. Support Staff 4 Posted by Feodor Fitsner on 13 Jun, 2016 06:05 PM

    Feodor Fitsner's Avatar

    Hi Jake,

    You can start another build from a build or you mean a new Environment type to start another build here:

  5. 5 Posted by jake on 14 Jun, 2016 02:54 PM

    jake's Avatar

    I would like to go to deployments, click new deployments. And deploy to deployment build.

    I upload ruby gems, push to chocolatey, npm in a single OSS project, at the moment I have to do a rebuild. I have just figured how to work around this.

    I am deploying to github releases and uploading all my artifacts as a draft. I then have a second build which only builds tags. When I publish the github release it triggers my deploy build which downloads all my artifacts from my github release then does the deployment. It's a bit fiddly but it will work.

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


06 Jun, 2024 02:12 PM
06 Jun, 2024 03:49 AM
04 Jun, 2024 03:53 AM
30 May, 2024 04:03 PM
27 May, 2024 02:06 AM
20 May, 2024 09:52 PM