scott_lotus
scott_lotus

Reputation: 3275

VSTS Release Definition - how to schedule monthly?

Defining a VSTS Release Definition via:

A user has the options to ENABLE and SCHEDULE a release to an ENVIRONMENT at a day/time of their choosing.

Is it possible to schedule a release once per month ?

Context: Artifacts are .git master branch exported to an Escrow import workflow.

Testing the schedule options the UI currently offers a user the option to select:

Maybe a community module exists that can be imported into VSTS to offer more options or VSTS has an option hidden away somewhere else ?

Thank you.

Upvotes: 2

Views: 2619

Answers (2)

SimonGoldstone
SimonGoldstone

Reputation: 5216

I’ve found a really simple way to achieve one-off or scheduled releases.

Just use the VSTS CLI tool, in the marketplace...

https://marketplace.visualstudio.com/items?itemName=ms-vsts.cli

It’s published by MS and it’s super easy to kick off builds and releases from the command line.

Just use task scheduler. Works an absolute treat for me.

Specifically, this is the command you need to execute:

https://learn.microsoft.com/en-gb/cli/vsts/release?view=vsts-cli-latest#vsts-release-create

Upvotes: 3

Marina Liu
Marina Liu

Reputation: 38106

Trigger release monthly is not available for now. As you saw, there only as working days, time and time zone for schedule.

But there has an user voice Scheduled builds - More flexible timing configuration which suggest more flexible time configuration including (monthly configuration). You can vote and follow up for this user voice.

Upvotes: 6

Related Questions