Hello. I'm trying to setup a two-stage deployment scenario. Stage 1 is triggered automatically at a certain time, and runs through an application setup and deployment. That is working fine. However, once that happens, I want to be able to push out hotfixes triggered by SCM commits.
The current setup looks something like:
| |-Deployment Build
A release is made, a deployment build is triggered, executed, and then finishes. The release remains active, but is stuck in the Deployment Workflow. This means that the HotFix Build cannot be triggered, because the release is in the wrong workflow.
If I manually switch the release's workflow to the HotFix Workflow, SCM triggered hotfixes work as intended. However, as far as I can tell, there's no way to automatically change a release's workflow.
Creating a new release for the hotfixes isn't really an option. I could make a new application specifically for hotfix deployments, and do it that way, but that seems to defeat the entire point of workflows. (Not to mention being a pain.)