prevent autodeploy with comment

Hi

We have a pipeline where the 3rd stage is the deployment to several PROD systems. Until now, the 3rd stage was triggered manually. We now would like to automate this 3rd stage with a trigger.

But we also need the ability to prevent the 3rd stage from beeing triggered automatically. The idea was to prevent the stage from running as soon as any of the pending changes contains a given phrase in the check-in comment, for example "nodeploy". The current trigger rule looks as follows:

-:comment=.*nodeploy.*:**

As far as I can see, the trigger rule is only applied to the last check-in comment. Is there a possibility to extend this behavior to all pending changes for a given stage? Or is there any other possibility to prevent this automatic deployment from time to time?

Thanks

1

Please sign in to leave a comment.