Deployment Agent IIS Application Name

montgomery.adam's Avatar

montgomery.adam

18 Sep, 2014 09:39 PM

I have a server inside our corporate firewall running IIS with the Appveyor Deployment Agent installed. I'm trying to deploy a project packaged for Web Deploy to a named application on the default web site. So far, I've only been able to get it to deploy as a site (dumping all the deployed files into the root directory). I'm using web deploy parameters to set some of the Web.config settings. Is there a way to accomplish this without poking a hole in the firewall?

  1. Support Staff 1 Posted by Feodor Fitsner on 18 Sep, 2014 10:18 PM

    Feodor Fitsner's Avatar

    Hi Adam,

    I think we could add another optional application_name parameter to deployment agent settings. Right now Web Deploy's IIS Web Application Name sync parameter is set to just a web site name. I think setting it to <site_name>/<application_name> should do a trick. Is this what you need?

  2. 2 Posted by montgomery.adam on 19 Sep, 2014 07:51 PM

    montgomery.adam's Avatar

    Thanks, Feodor, that worked. It would be nice to have that optional parameter, as the environment variable would conflict if I tried to deploy a second application to that same server. Thanks for the help.

  3. Support Staff 3 Posted by Feodor Fitsner on 19 Sep, 2014 10:27 PM

    Feodor Fitsner's Avatar

    Great, will add this next week.

  4. Support Staff 4 Posted by Feodor Fitsner on 23 Sep, 2014 04:34 AM

    Feodor Fitsner's Avatar

    Hi Adam,

    It's been added. Now there is another <artifact_name>.application_name parameter that can be set to IIS application name (virtual directory). Should be used together with website_name parameter to build a full web app path.

    Update deployment agent is here: http://www.appveyor.com/downloads/AppveyorDeploymentAgent.msi

    Let me know how that works for you.

  5. 5 Posted by montgomery.adam on 23 Sep, 2014 07:04 PM

    montgomery.adam's Avatar

    Hi Feodor, I just tried it out and it works just as I wanted. Thanks!

    Adam

  6. Support Staff 6 Posted by Feodor Fitsner on 23 Sep, 2014 07:38 PM

    Feodor Fitsner's Avatar

    Cool, thanks for the update!

  7. montgomery.adam closed this discussion on 02 Dec, 2014 11:11 PM.

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