0 votes
1 view
in Devops and Agile by (28.1k points)

I have been facing this issue particularly today while deploying my application to the Azure environment using Azure Devops.

One of the deployment tasks fails with the following error message:

 ##[debug]Deployment Failed with Error: TypeError: Cannot read property 'scmUri' of undefined

When I retry to deploy a couple of times it succeeds and deployment is successfully done.

What is the issue causing this error?

1 Answer

0 votes
by (48k points)

This occurred due to the version error even Microsoft is aware of this and releasing the latest version by 

Next Update: Before Wednesday, October 17th, 2018 15:50 UTC.

As per the docs: https://blogs.msdn.microsoft.com/vsoservice/?p=17835.

Mention that 

We're investigating Intermittent failures of Release Pipelines in West Europe.

Customer using Azure App Service Deploy task in their Release Pipelines might see intermittent errors like "##[error]TypeError: Cannot read property 'scmUri' of undefined"

Retrying the release may succeed.

now, it is perfectly alright you can retry your deployment.
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...