Approve a deployment for a pre-configured time

Recently one of the customer asked whether release management offers a way by which they can approve a deployment for a pre-configured time. This means that customer should be able to approve the deployment now but should be able to specify the time at which deployment should start. We have a feature called “deferred approval”…

0

Async Http Agentless Task

There are good set of customers who are using agentless HTTP task in their release definitions where they typically invoke an API on another system and that system process the invocation in the same thread. In this flow, the http task succeeds if the API invocation succeeds (Http Status = 200) and fails otherwise. This…

0

Release not seeing approve/reject option

Once in a while, a customer will come and mention that their release is not asking for approvals and is kind of stuck in the deployment queue. Last week also one of the customer reported the same. To debug this problem, we did the following: – 1. We looked at the queue for that specific…

0

Multi-Factor authentication (2FA) in release approvals

Few months back, we (Anjani Chandan) had enabled a feature in RM which lets you enforce multi-factor authentication in the release approval flow. This is very useful in scenarios where you want approvers to re-signin before approving so that it is crystal clear that who approved the release. One example where it is little ambiguous…

0

How to undelete a deleted release definition?

We (Garima Srivastava) have recently added a feature in the product with which you can undelete a release definitions yourself using our rest APIs. This undelete can be done within 4 weeks of deletion and after which the definition is deleted permanently. Here is a sample power-shell script which uses our rest APIs to find…

0

How to use VSTS docker task to push to AWS registry?

Recently couple of customers wanted to know how to use VSTS docker task to push the container images to AWS EC2 Container Registry. Atul Malaviya tried it out and it worked without seamlessly for me. Here are the steps that worked for him. Create a repository in the AWS registry. Specify the repository name in…

0

How to disable a workflow task in a release using rest APIs?

Recently one of the customer wanted to know how to disable a task in a release using the rest APIs and here is the code that I shared with him. You can get the PAT token using the instructions mentioned here. param ( [Parameter(Mandatory=$true)] [ValidateNotNullOrEmpty()] [string] $token ) ## Construct a basic auth head using…

0

How to use an old build for release?

I have seen customers asking this question about they can use an old build while creation of a release as we show only latest 100 builds in the create release dialog. For example in the below dialog, we are not showing any builds older than …20170510.33 version. Here are the steps that you should follow…

0

Auto-resume on manual intervention timeout

Recently we have added an option in our manual intervention task which enables auto resuming the task on timeout. You can use it to introduce delays between 2 environments without consuming agents.

0

VS402903: The specified value is not convertible to type ReleaseDefinition. Make sure it is convertible to type ReleaseDefinition and try again

Recently one of the customer reported that he is trying to update a variable in an existing release definition and it is failing with above mentioned error. Sandeep Venkata from the team worked on this problem and found a good solution which should be useful for you. Here is the customer script, failure and solution….

0