@Grzegorz Orda Thanks for reaching out. Azure DevOps and its services are not supported on the Microsoft Q&A platform. Please post your question in the following forum where the Azure DevOps team and DevOps community are actively answering questions: https://developercommunity.visualstudio.com/spaces/21/index.html
Azure pipeline unable to build solutiuon
For a month now I am getting errors while building a project. Sometimes it's a timeout, sometimes other incomprehensible errors. Any ideas what this could be caused by?
- [error]Stack overflow. ,[error]We stopped hearing from agent Hosted Agent. Verify the agent machine is running and has a healthy network connection. Anything that terminates an agent process, starves it for CPU, or blocks its network access can cause this error. For more information, see: https://go.microsoft.com/fwlink/?linkid=846610
- [error]An error occurred while provisioning resources (Error Type: Disconnect). ,##[warning]Received request to deprovision: The request was cancelled by the remote provider. Pool: Azure Pipelines Image: windows-latest Agent: Hosted Agent Started: Mon at 11:07 AM Duration: 3h 10m 11s
YAML file
> trigger: > branches: > include: > - 'develop' > variables: > - name: solution > value: '/*.sln' > - name: buildPlatform > value: 'Any CPU' > - name: buildConfiguration > value: 'Release' > stages: > - stage: __default > jobs: > - job: Job > timeoutInMinutes: 360 > pool: > vmImage: 'windows-latest' > steps: > - task: NuGetToolInstaller@1 > - task: UseDotNet@2 > inputs: > packageType: 'sdk' > version: '3.1.x' > - task: CmdLine@2 > inputs: > script: 'echo $(Build.SourceBranchName)' > - task: NuGetCommand@2 > inputs: > restoreSolution: '$(solution)' > - task: VSBuild@1 > inputs: > solution: '$(solution)' > platform: '$(buildPlatform)' > configuration: '$(buildConfiguration)' > - task: VSTest@2 > inputs: > testSelector: 'testAssemblies' > testAssemblyVer2: | > *Test.dll > !*TestAdapter.dll > !\obj** > searchFolder: '$(System.DefaultWorkingDirectory)' > - task: PowerShell@2 > inputs: > pwsh: true > filePath: '$(Agent.BuildDirectory)/s/scripts/RulesValidation.ps1'