Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (29.3k 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 (50.2k 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.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...