Questions tagged [azure-devops-pipelines]

269 questions
2
votes
1 answer

How can we enable/disable a Azure DevOps Pipeline using Azure Devops rest api or CLI commands

I'm trying to enable/disable multiple pipelines based on a condition, would like to create a pipeline that takes the parameter from the user and updates all the other pipelines. I've found these below documents from…
2
votes
0 answers

Azure mac hosted agent : Acquiring an agent from the cloud: Request queue position information is unavailable

i just notices that even though i have a pool of 10 hosted agent in azure which are free and idle I'm waiting a long time to execute the build job and I see this msg for a long period of time: Acquiring an agent from the cloud: Request queue…
2
votes
1 answer

Azure devops pipelines cache python dependencies

I want to cache the dependencies in requirement.txt. See https://learn.microsoft.com/en-us/azure/devops/pipelines/release/caching?view=azure-devops#pythonpip. Here is my azure-pipelines.yml # Python package # Create and test a Python package on…
Osvald Laurits
  • 1,228
  • 2
  • 17
  • 32
2
votes
0 answers

Azure On-Premise Pipeline CMD error: migrate.exe returns error "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'"

The problematic script is: 1migrate.exe Core.dll /verbose /connectionString="DataSource=server-name;Initial Catalog=db-name;Integrated Security=True; "/connectionProviderName="System.Data.SqlClient " I opened the machine that runs the Pipeline…
2
votes
1 answer

azure devops pipeline CopyFiles@2 task copy's files from agent A but DownloadBuildArtifacts@0 downloads the files to agent B

i have wired behavior with the copy files from hosted agent and then downloading them back to the same agent looks like it copies the files from agent A but the same pipeline downloading them back to Agent B with is in another machine doing another…
user63898
  • 29,839
  • 85
  • 272
  • 514
2
votes
2 answers

azure hosted mac pipeline , suggestion on how to make it faster , currently very slow , on desktop 5 min , on server near 20

i have this pipeline which works great but is very time consuming each build when in desktop xcode it takes less then 5 min to build, in the mac cloud server its takes 20 especlly the parts where it downloads configures and compiles native gems in…
user63898
  • 29,839
  • 85
  • 272
  • 514
2
votes
4 answers

Avoid git clean with Azure Devops self-hosted Build Agent

I have a YAML build script in an Azure hosted git repository which gets triggered across 7 build agents running on a local VM. Every time this runs, the build performs a git clean which takes a significant amount of time due to a large node_modules…
2
votes
1 answer

How to access the response of the InvokeRestAPI task from another job in an Azure DevOps pipeline?

I'm trying to automate the deployment of an Elasticsearch resource in the Elastic cloud, by invoking their REST API from within an Azure DevOps pipeline. Invoking the API works fine using the InvokeRestAPI task, but now I want to use the information…
Jonas
  • 88
  • 1
  • 6
1
vote
1 answer

Get version number for Xamarin.Android and iOS

For creating my apk and ipa file for my Xamarin.Android and Xamarin.iOS projects with the pipeline I need the version number from the AndroidManifest.xml and Info.plist as a variable for use in my yaml config file. I'm changing the version number…
1
vote
0 answers

All Specflow scenarios being skipped in VSTest task on DevOps Pipeline

I've configured a DevOps pipeline to execute my SpecFlow Selenium tests. Everything appears to work fine, except that all my test scenarios are skipped on the DevOps agent. When I run the tests locally, using VS2019 test explorer, they run without…
1
vote
0 answers

AzDevops SelfHosted Agent spawn ENOENT Error when calling PythonScript Task

I hope you can help me, I've been looking for an answer but I couldn't find something concrete, thats why I'm creating this topic. I'm having issues trying to execute a PythonScript from AzureDevops Pipelines, the script is supposed to validate the…
1
vote
1 answer

Azure DevOps - Azure App Service deploy - Adds Application settings WEBSITE_RUN_FROM_PACKAGE causes CSS to not load

In Azure DevOps we have the following Azure App Service deploy task in our release pipeline: This works good but it adds Application settings WEBSITE_RUN_FROM_PACKAGE = 1 for Azure App Service The web application starts but for some reason…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
1
vote
1 answer

How to handle React Config.js file in Azure DevOps Pipeline

I am working Azure DevOps Pipeline to build and deploy React JS application. It contains config.js file which some variables that needs to modified for different environments. Anyone help me how to handle the config.js in Release pipeline while…
VKD
  • 633
  • 2
  • 12
  • 28
1
vote
0 answers

How to do full codebase code coverage scan using azurepipelines-coverage.yml

Reference: https://learn.microsoft.com/en-us/azure/devops/pipelines/test/codecoverage-for-pullrequests?view=azure-devops https://github.com/MicrosoftDocs/codecoverage-yaml-samples The links above, only talk about diff coverage as part of Pull…
1
vote
1 answer

Azure DevOps Pipeine Yml/Yaml Stage to Stage artifact/permission sharing

This might be a super loaded task and I'm hoping I am asking the right question. But basically, has anyone experienced this permissions issue before and know a way around it? If I remove the 2 stages/jobs entirely and just run it all under 1…
aseb
  • 274
  • 2
  • 11