tag:help.appveyor.com,2012-11-13:/discussions/questions/1360-using-the-appveyor-deployment-agent-how-do-i-run-a-ps-script-once-all-my-deployments-have-finishedAppVeyor: Discussion 2018-10-19T08:17:15Ztag:help.appveyor.com,2012-11-13:Comment/370960792015-06-11T18:59:29Z2015-06-11T18:59:29ZUsing the AppVeyor deployment agent , how do I run a PS script once *all* my deployments have finished?<div><p>It's not there yet. There is an item for adding global "before"
and "after" scripts: <a href="https://github.com/appveyor/ci/issues/44">https://github.com/appveyor/ci/issues/44</a>
- you can vote there by leaving your comment.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/370960792015-06-11T19:00:52Z2015-06-11T19:00:52ZUsing the AppVeyor deployment agent , how do I run a PS script once *all* my deployments have finished?<div><p>Regarding failed deployments - could you please elaborate what
you mean there? Like Web Deploy sync errors?</p>
<p>In most cases you can just re-deploy previous build.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/370960792015-06-11T19:44:17Z2015-06-11T19:44:17ZUsing the AppVeyor deployment agent , how do I run a PS script once *all* my deployments have finished?<div><p>Thanks, have left a comment!</p>
<p>With the rollbacks, I was more wondering if there was any
AppVeyor standard practice for them, but a simple re-deploy of the
last version makes sense... it seems to be standard practice for
the build server to do 'nothing' in case of an error and let the
devs take care of it, in case other immediate action makes it
worse.</p></div>sebastian