title: How to schedule stage deployments in Azure DevOps Pipelines?
body: <p>With the classic Azure DevOps release pipeline our release flow was very easy to setup.
  We had a build pipeline running many times during the day. On success it deployed to our development environment. Every night the latest successful deployment to dev was released to our test environment (running automated tests for hours), before it deployed to UAT. But often we also need to deploy to test during the day, if we have a new change which needs to go directly into test or UAT. The classic pipelines allowed us to skip a stage, or deploy if the previous was only partly successful.</p>
  <pre><code>1) Development - automatic
  2) Test - nightly or manually
  3) UAT - nightly or manually
  4) Staging - manual approval
  5) Production - manual approval
  </code></pre>
  <p>With the multi-stage pipelines the same flow seems to be very difficult to do. At least when it comes to making it as a single deployment pipeline. The first part is fine. We can have our build trigger the development deployment. But how can we hold back the release to the test environment until 0:30am, while still retain the ability to also release it manually? If I created a separate test environment pipeline, then it could work if it had no triggers, but a schedule.
  Same with the UAT, as we also need the flexibility to manually run UAT deployments, then it would also need to go into its own pipeline. Releases to our staging and production environment we &quot;gate&quot; with manual approvals, which is fine.</p>
  <p>While this technically could work, if we split the deployment pipeline into multiple pipelines it really gets difficult to manage &quot;a release&quot;. Not to say that it kind of goes against the whole multi-stage pipeline principle if we create a separate pipeline per stage.</p>
  <p>But with this being so easy to setup like this in the classic pipelines, then I cannot really imaging that other companies have not run into the same limitations. Is it just me who cannot see the light, or cannot this really not be done with multi-stage pipelines?</p>