Deploying Web Application using Deployment agent

mark.kerins's Avatar

mark.kerins

20 Jul, 2015 04:19 AM

Hi There,

I've managed to configure an environment and add an agent to my web application server (2008r2)

upon selecting my deployment and clicking on the update button it communicates with my web application server and downloads the application to c:\Appveyor\projects\.... which is good

However, the Job's console message indicates that it is looking for a deploy.ps1 in the root folder. I've not specfied the deploy.ps1 anywhere.
how do I ensure the deploy.ps1 is available?

thanks

  1. Support Staff 1 Posted by Feodor Fitsner on 20 Jul, 2015 04:27 AM

    Feodor Fitsner's Avatar

    Just disregard that message. It's just informative messages saying "we've been looking for deploy.ps1 but didn't find it".

  2. 2 Posted by mark.kerins on 20 Jul, 2015 04:30 AM

    mark.kerins's Avatar

    Thanks Feodor for your quick reply.

    I was expecting the deployment to wire up IIS as well. (e.g. change the folder mapping for the IIS application) it doesnt appear to have done that

    thanks

  3. Support Staff 3 Posted by Feodor Fitsner on 20 Jul, 2015 04:32 AM

    Feodor Fitsner's Avatar

    You mean specifying the root for virtual directory?

  4. 4 Posted by mark.kerins on 20 Jul, 2015 04:41 AM

    mark.kerins's Avatar

    yes

    for example we have the [Default web site] as the IIS website.

    I want to update my application which is an application with in the website (say... MyApp) [Default Web Site]\myapp .

    I am assuming that the deployment agent unpackages the package into c:\appveyor\projects\.... and then changes the virtual folder of my application

    if this is so, I am probably missing something. the 3 provider settings I have set up are
    Services.Web.deploy_website
    Services.web.site_name
    Services.deploy_website

    Thanks

  5. Support Staff 5 Posted by Feodor Fitsner on 20 Jul, 2015 04:44 AM

    Feodor Fitsner's Avatar

    You can deploy web app as an application (vdir) by specifying .application_name (myapp in your case). You can set vdir root folder too with .application_path. http://www.appveyor.com/docs/deployment/agent#deploying-artifact-pa...

  6. 6 Posted by mark.kerins on 20 Jul, 2015 08:39 PM

    mark.kerins's Avatar

    Hi Feodor, that worked
    thanks

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:58 AM.

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