You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
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: