Questions tagged [azure-devops-hosted-agent]

65 questions
0
votes
1 answer

Use of XmlPoke in project file to update source file has stopped working [title updated]

For several years to update the version number during project build. In Visual Studio we added something like the following in a c sharp project
TrevB
  • 11
  • 3
0
votes
0 answers

Error using WebDriverManager.Net NuGet package on hosted agents

I was wondering if someone could help with this issue we are facing running Selenium tests on an Microsoft Hosted Agent in Azure DevOps. We've recently attempted to implement WebDriverManager.Net to handle the fact that our local versions of Chrome…
0
votes
3 answers

Flutter Android build error in Azure Pipeline: No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

I'm getting error No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi. The solutions I found were to upgrade or downgrade NDK in Android Studio. However, I'm using Azure Pipeline and am not sure how to do…
0
votes
1 answer

How can I tell a Microsoft-hosted agent in Azure Devops to preserve the workspace between jobs?

I want to break down a large job, running on a Microsoft-hosted agent, into smaller jobs running sequentially, on the same agent. The large job is organized like this: pool: vmImage: 'windows-latest' jobs: - job: large_job steps: - task:…
0
votes
1 answer

How to store Azure pipelines artifacts in Windows machine by using Linux microsoft hosted agent?

Can someone help me that i have requirement on Artifacts File share in Azure pipelines. I am using Linux hosted agent and I gave in "Drop Artifacts" --> file share --> windows machine name as follows (\server name\c:\Drop). This process got failed.…
0
votes
1 answer

Is there a way to save and retrieve files while selenium tests are running in Azure Hosted Agent?

I have a suite of Selenium Tests that run inside Windows 2019 Azure Hosted Agent. Each Test captures an image of a particular web page. For future test runs these images will be used as a baseline when comparing the current/actual state of a web…
0
votes
2 answers

Copy deployment result from an Azure Mac hosted agent to a private Windows agent

In Azure DevOps I have a release definition that executes the command productbuild --component $(System.DefaultWorkingDirectory)/$(RELEASE.PRIMARYARTIFACTSOURCEALIAS)/My/Folder.app/ /Applications My.pkg to create a new pkg file starting from the…
0
votes
1 answer

Can't conditionally add script to Azure Devops Yaml pipeline

I'm trying to make use of Container Job template in a pipeline which runs on both Microsoft Hosted and Self-Hosted (Containerized) build agents. ContainerJob template works well when run in Microsoft Hosted but fails in Self-Hosted agent saying…
0
votes
1 answer

Can I use a hosted build agent to build a VS 2019 project that targets both netcore 2.1 and 3.1?

I had a VS 2017 project that targeted netcore 2.1. This was built and deployed using a YAML build pipeline on the hosted vs 2017 agent. We needed to support netcore 3.1 as well as 2.1 so I updated the project to VS 2019 and changed it to…
Steve
  • 1,266
  • 16
  • 37
0
votes
1 answer

Cordova build android error: Could not resolve com.github.scottyab:rootbeer:0.0.7 on vs 2017 azure devops agent

​Hi, On azure devops vs2017 agent, since 26th september 2019, my cordova build android command in the build pipeline is failing with error Task :app:preReleaseBuild FAILED Task :CordovaLib:generateReleaseRFile 10 actionable tasks: 10…
0
votes
1 answer

Getting diff. error for chrome driver on azure hosted agent

Error : org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: was killed (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location…
0
votes
2 answers

Azure Pipeline DB Build Fails Randomly with EsentVersionStoreOutOfMemoryException: Version store out of memory

We have an Azure DevOps Pipeline build for our SSDT DACPAC projects, set to run on Continuous Integration. It has been running for a few years, and we've periodically and randomly seen the following error failing the…
0
votes
1 answer

Why is my MSbuild command path not reachable if I change my Azure DevOps agent?

A task of my Azure DevOps build fails to find my solution path when I change from "Hosted" Agent to "Hosted VS2017". Does the folder organisation change from a agent to another ? My C# solution used to run with .NET framework 4.6, and I reference…
0
votes
1 answer

Azure DevOps (VSTS) Hosted macOS agent fails for Multi-Target .NET Core Console

I have cross-platform console package that multi-targets .NET Full and .NET Core and I am successfully using the Azure DevOps Hosted VS2017 agent to trigger CI builds. Everything is fine for Hosted VS2017 agent. But as soon I select Hosted macOS…
ameya
  • 1,448
  • 1
  • 15
  • 31
0
votes
1 answer

How do I run an arbitrary test command on a Hosted agent?

I would like to test that a command I'm crafting will work fine on a Hosted Agent with my DevOps Build Pipeline. The command could be quite complex or as trivial as tsc --version, for example. How do I do it without modifying my…
Igor Soloydenko
  • 11,067
  • 11
  • 47
  • 90