Deployment failed using Azure Devops - azure-devops

I'm trying to deploy from acceptance to production but I'm getting this error:
##[error]NotFound: Error retrieving function keys.
##[error]Check out the troubleshooting guide to see if your issue is addressed: https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment?view=azure-devops#troubleshooting
##[error]Task failed while creating or updating the template deployment.
Finishing: Azure Resource Group Deployment
This is the link to the full image since I can't post images:
Mentioned error
I don't know what can be wrong, all the deployments from dev are working good until I find the main and last branch.
Thanks for your help.

Related

Azure Devops App Service Deploy Task Not Work Suddenly

I use [Azure App Service deploy] task in Azure Devops pipeline to deploy the artifact to an Azure App service.
Everything worked well before but today it not work suddenly. It failed when i tried to deploy the artifact to the production slot (the slot marked production). But when i tested to deploy to deployment slots, it worked well.
I just got an error message that has no much detail in the log
Cleaning up temp folders from previous zip deployments and extracting pushed zip file C:\local\Temp\zipdeploy\534hsvxr.zip (80.94 MB) to C:\local\Temp\zipdeploy\extracted
[error]Failed to deploy web package to App Service.
[error]Error: Package deployment using ZIP Deploy failed. Refer logs for more details.
Anyone got the same issue before?
Thanks
It seems to be a source control issue. Just try going to the App Service Deployment Center blade and click "Disconnect" to disconnect your deployment. And then try to deploy it again.

Azure DevOps Service has been imported database successful But error 404 NotFound can't access to link

I have migrated import database from TFS to Azure DevOps Service.I'm follow step by the instruction Guides of migration,The process migrate has been completed, please see the reference of screenshot enter image description here
But after The tools has generated the link for tracking the status of importing,I can't access to it and The Azure dev returned response error 404 NotFound.enter image description here
Please help to investigate this issue? and Anything suggestion for fix it.
Thank you

"Resource not accessible by integration" when trying to create trigger

This is a very simple question, but after trying to find an answer for 3 hours I am asking, so I apologize if it is a duplicate.
I am trying to add a "Continuous deployment trigger" to my Azure DevOps Pipeline:
But after configuring the Branch Filters and trying to save, I get the following error message:
"GitHub Could not create service hooks subscription Unable to
configure a service on the selected GitHub repository. GitHub returned
the error 'Resource not accessible by integration'. "
My repository is hosted on GitHub and it is private, and so is my project on Azure DevOps
I would expect this to "just work", so I really don't see which other information would be relevant on this question, so apologies in advance in case I forgot to mention something
Through testing, I can reproduce this issue:
The cause of this error could be the selected service connection, when the service connection is to a GitHub-InstallationToken, I got the same error, as shown below:
When I choose the service connection as shown below, everything is normal:
You can check the service connections in the project settings.

JFrog CLI is giving me a "Wrong number of arguments" error using the Artifactory Maven build step in Azure DevOps (VSTS)

I'm new to Azure DevOps (VSTS) and I'm attempting to set up a new Pipeline build using the Artifactory Maven build step. When running the build I get the following error:
2018-09-12T20:59:02.0861829Z ##[error]Error: Command failed: D:\a_jfrog\1.19.1\jfrog.exe rt mvn "install -f D:\a\1\s\pom.xml" D:\a\1\s\config --build-name="SomeProject-Maven-CI" --build-number="20180912.6"
2018-09-12T20:59:02.0988256Z [Error] Wrong number of arguments. You can read the documentation at https://www.jfrog.com/confluence/display/CLI/JFrog+CLI
I found this info on GitHub: https://github.com/jfrog/jfrog-cli-go/issues/165
Its a similar error but not quite the same. I'm not sure how to edit the command that Azure Pipeline is running or even if I can.
I figured out my issue. I had a space included in my build name and it apparently the JFrog Cli didn't like that. When I removed the space the error went away. Other errors came up but that's off-topic from this question.
Can you please report the errors your encountered in Artifactory VSTS extension's GitHub repository?
We'll really appreciate it.
Update: A pull request opened to target this issue. You can track it here.
Update 2: Fixed in latest release 1.4.0.

Deploy to bluemix failed with "Failed to query status of cloning repository operation."

I'm trying to setup a deploy to Bluemix button for a demo project.
The project has been deploying successfully today, but has now stopped deploying with the error:
"Failed to query status of cloning repository operation.".
See below for a screenshot.
How can I debug this? No other information is provided in the output about the error.
This problems appears to have just been a temporary glitch that has now rectified itself. I'll leave the question and answer on stackoverflow in case this is useful for other users.