Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure DevOps - Is it possible to schedule a release for a specific day and time?

I am using Azure-DevOps Release pipelines to automate deployments.

I would like to schedule release creation to occur at a specific date and time.

But according to the screenshot below, only days of the week can be selected. And you can't specify the trigger as one time only.

This is a problem because the trigger will causes a release to occur every week on the specified days, and we will have to remember to turn the trigger off after every release, until we are ready to release again.

Is it possible with the current functionality in VSTS to set a specific date, and only release once?

Possible work-workaround?

Release Trigger Example

like image 846
Matthew Eskolin Avatar asked Sep 20 '18 16:09

Matthew Eskolin


People also ask

How do you automate release pipeline in Azure DevOps?

To configure your release pipeline integrations, select the Options tab, and then select Integrations from your release pipeline definition. If your source code is in Azure Repos, this option displays a status badge on the Azure Repos pages.

Is Microsoft phasing out Azure DevOps?

First, Microsoft is discontinuing the Azure DevOps Services Preview Program. This program allowed users to try out new features and get early feedback. With the program ending, feedback will no longer be available to help improve Azure DevOps. PRO TIP: No, Azure DevOps is not being deprecated.

What is difference between build and release in Azure DevOps?

The Azure DevOps Server provides two different types of pipelines to perform build, deployment, testing and further actions. A Build Pipeline is used to generate Artifacts out of Source Code. A Release Pipeline consumes the Artifacts and conducts follow-up actions within a multi-staging system.


1 Answers

Edit your release and click on the "Schedule set" icon under the Artifacts. You can enable and "Add a new time" for repeated execution.

Otherwise, consider running a pre-deployment condition that triggers once on every build.

Azure Devops Releases screenshot

Azure Devops pre-deployment

like image 104
omar5885 Avatar answered Sep 22 '22 14:09

omar5885