Can we get "Run a Pre-Deployment Script" please?

Hey dudes,

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).

Admin API to expel all users and then set Block New Users?

We use a central login DB file with a nicer UI than what FMS could provide with that.

Looks like v4.7.0 added this feature. Thanks!!!

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.

2 Likes