HI all!
I am searching for an option to stop an IIS website before deployment to it.
I tried using ssh and appcmd (which outside of bitbucket works fine), but I cannot get ssh to cooperate with my wishes.
Anyone done something similar already?
Thanks
Andreas
I am also working on the same requirement. Did you find the solution for this? Please suggest.
Thanks in advance.
I have created my own deployment via scripts.
Our project consists of 3 different projects each having it's own needs, so I just put a script on top that lets me command what to deploy where and which feature or release branch to use.
As for the IIS issue: I found that as soon as there is a background job involved, it's not only necessary to stop the site, but you have to additionally stop the app pool process as well.
As long as I do that, everything works fine.
Deployment is done via ssh commands:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.