For each Deployment, we have a “Run a Post-Deployment Script” option, which we use to mark a server as online again and available for users, among other things.
It’s great.
But we don’t have an elegant way to automatically mark a server as offline at the start of the process. I think this could be solved by giving us this ‘pre-deployment script’ ability.
I did already read this request:
… and it’s really not the same, as what I’m asking truly is just on the Deployment (not on a Build / source server).
OttoFMS now has support for a pre-deployment script. This is very similar in setup to post-deployment scripts, just with a different results filename and it will default to prevent your deployment if the pre-deployment script fails or does not return a “done” results file. This script is run before files are closed during the deployment.