

Initially when we deployed our releases each environment took about 5 to 10 minutes maximum, and from one moment to the next it was + 1h and sometimes even the Hosted Agent is canceled by Time-out. In the meantime I increased Microsoft-hosted, Parallel Job from default to 2 but it didn't work out what I can do to fix this situation.
hosted agent devops take to long time or cancel
1.7k Views Asked by HideCode At
2
There are 2 best solutions below
Related Questions in AZURE-PIPELINES
- Kick off mocha tests in Visual Studio Team Services Build
- TFS 2017 build as code
- vsts build fails on Microsoft.AspNet.Identity.EntityFramework
- Issue with visual studio build agent behind a proxy
- VSTS build: replace string in linked file before packing
- Azure Powershell VSO agent task not failing for non-zero exit code
- Accessing variables in VSTS for release name format
- Visual Studio Team Services - build definition - fail on more warnings, or on less tests
- npm install needs authentication in VSTS hosted build
- Can ExtensionDataService be used from a PowerShell-based VSTS build task?
- VSTS intermittently nuget package restore fails
- Setting up Build Pipeline for Azure Bot Service/Azure Functions solution in VSTS Build
- Continuous deployment to Azure of ASP.NET Core app
- Modify TFS 2015 BuildNumber during build process
- Save Screenshot to folder in root directory VSTS
Related Questions in AZURE-PIPELINES-RELEASE-PIPELINE
- VSTS build: replace string in linked file before packing
- Accessing group variables in VSTS Online
- Accessing variables in VSTS for release name format
- Modify TFS 2015 BuildNumber during build process
- Xamarin: VSTS to generate ipa and apk files
- Azure Arm template deployment of a web app zip package programmatically using build artifact
- "Run Functional Tests" task and Specflow - App.config being ignored?
- VSTS Task: Window machine file copy: system error 53
- How to remote debug software after automated releasing software
- Azure app service docker container 'Service Unavailable'
- VSTS Online Portal: Un-Nesting Build Folders on Release
- Vsts agent is not registering on a win 2012 R2 server
- How to build and deploy SSRS project through VSTS?
- Release Agent Demands in VSTS
- VSTS Docker Release step
Related Questions in AZURE-DEPLOYMENT
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Failed deployments from GitHub to Azure: "Request failed with status code: 401"
- Azure deployment slot setup and questions
- Deploying to Azure from git: 'No Deployable Projects'
- Azure deployment of MVC .net project from git repository failed
- Setting Up And Using Web Deploy with Azure WebRole in Visual Studio (One-Click partial update)
- Visual Studio on Mac (v7.1) - Cannot deploy/publish to Azure
- Azure function debug and deployment separately
- Azure app service (Linux) - git deployment error - ENOENT: no such file or directory (manifest file)
- Deployment from Azure web site from GitLab
- VS2012: Release vs Debug
- ARM Template schema for Sql Connection using an On-Premises Data Gateway
- Reimplement the uniqueString() hash ARM function
- Active Directory Authentication using JWT Token connection string issue
- How to resolve "unexpected value 'stages' azure pipelines" in Azure devops pipeline yml
Related Questions in AZURE-DEVOPS-HOSTED-AGENT
- Copy deployment result from an Azure Mac hosted agent to a private Windows agent
- Self-hosted Devops Agent unable to connect to KeyVault under Firewall policies
- Azure devops hosted agent suspicious hosts file
- Using docker image with database or LocalDB for integration tests in Azure DevOps
- Azure DevOps Hosted Agents - Add Tool (PS Module) to agent
- ARM64 label of Azure Devops hosted agent
- Microsoft hosted agent is unavailable
- How to store Azure pipelines artifacts in Windows machine by using Linux microsoft hosted agent?
- How can I tell a Microsoft-hosted agent in Azure Devops to preserve the workspace between jobs?
- Can't conditionally add script to Azure Devops Yaml pipeline
- Openssl version upgrade from Microsoft hosted agents
- Azure DevOps Hosted Agent: The 'SQLNCLI11.1' provider is not registered on the local machine error
- Microsoft hosted agent bought but pipeline still fails for timeout
- Azure Devops Pipeline: There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
- Azure pipelines hosted agents, specify image version
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
We would suggest you first check if it also take same long time when you try to deploy locally instead through Azure DevOps Service.
Then since you have mentioned it used to be work about 5 to 10 minutes. Also kindly double check your build/release pipeline history and verify if there is any modify of your pipeline recently.
Besides there are also some things you can do if you want faster deployments:
Hope it helps.