Questions tagged [azure-devops]

Azure DevOps is a suite of 5 services you use together or independently. For example, Azure Pipelines provides build services (CI) as well as release management for continuous delivery (CD) to any cloud and on-premises servers. Azure Repos provides unlimited private Git hosting, Azure Boards provides agile planning (issues, Kanban, Scrum, and dashboards). Please note that there's a separate tag for Azure DevOps Server (formerly TFS) - the on-prem version.

Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

Why are there multiple api endpoints for azure oauth?

What is the difference between: https://login.microsoftonline.com/common/oauth2/v2.0/token https://login.microsoftonline.com/organizations/oauth2/v2.0/token https://login.microsoftonline.com/{...
maxisme's user avatar
  • 3,914
0 votes
1 answer
9 views

In Azure pipeline - how to build docker image with multiple image tags

task: Docker@2 inputs: containerRegistry: 'my-registry' repository: '$(System.TeamProject)/$(Build.Repository.Name)' command: 'buildAndPush' Dockerfile: 'Dockerfile' tags: | $(Build.SourceVersion) $(...
Ashokkumar Udayasuriyan's user avatar
0 votes
1 answer
6 views

Azure DevOps - How to make a agent job in release pipeline keep running after a release is been canceled?

I have a release pipeline on Azure Devops. This pipeline create a vm while release and delete the VM after release. I'm wondering if there are any method to make the pipeline always run a agent job, ...
Minyi Chen's user avatar
0 votes
0 answers
7 views

Azure DevOps - release pipeline - Impossible to switch back from Deny to Allow permissions for 'Administer release permissions'

In the security of the release pipeline, I have changed the permissions of 'Administer release permissions' to Deny for the Test Team from the release pipeline window (below the different screens to ...
Motti C's user avatar
  • 33
0 votes
0 answers
3 views

Jacoco - Multi-flavor and Multi build-type Android App unit tests not generating jacoco reports

I'm trying to do a Code Coverage for an Android App in Azure DevOps pipeline (YAML). The project I'm working is configured to with multi-flavor. Here's a build.gradle from app module: buildTypes { ...
Sonu Sona's user avatar
0 votes
0 answers
9 views

How to update current branch with changes from master using TFS?

I have a project code that uses Team Foundation Server (TFS) for revision control. I created a new branch named br-feature form main using Visual Studio 2019. Since then, my main branch changed. I ...
Jay's user avatar
  • 1,081
0 votes
0 answers
15 views

JFrog Xray dynamic report creation using

Can we generate the Jfrog Xray violation reports(license and security typs) dynamically by having scope of defined repos and builds using azuredevops pipeline? The API call Json seems bit difficult to ...
Vowneee's user avatar
  • 901
-2 votes
0 answers
11 views

why doesn't the migration tool work in a POC environment

We are migrating from Azure DevOps Server to Services using the Data Migration Tool 2022 and 2020.1.2 provided by Microsoft, which supports on-premise Azure DevOps Server 2022 and 2020.1.2. Although ...
Pexabo Info's user avatar
0 votes
0 answers
31 views

PNG Images in assets folder not accessible when the Docker Image is build from Azure DevOps

When I build the Docker Image locally, the PNG Images in assets folder from the python package is accessible, and it's visible on application page. But When I use the Docker Image which was build from ...
Rakesh V's user avatar
-1 votes
1 answer
7 views

Azure DevOps Server build not triggering release-run

For some reason my build got deleted, so I re-created it with the same name. Each of my builds triggers a release-run to start upon completion. In this case, my release then had to be re-associated ...
Jereme's user avatar
  • 618
0 votes
0 answers
11 views

Azure Pipelines 'Cache' task cannot find package-lock.json

I would like to cache my npm packages in our build Azure DevOps build pipeline (YAML), to reduce the time it takes to run the pipeline. But after adding the Cache@2 task (full code later) the build ...
Jakob Busk Sørensen's user avatar
1 vote
0 answers
22 views

Azure DevOps Integrations in Postman not working

I am using the latest Postman version v10.14.9, where I am trying to connect the API to the Azure DevOps repository but unable to see the organization name after successful authorization. Performed ...
Joann's user avatar
  • 11
0 votes
0 answers
9 views

Trigger Azure Devops Pipeline Stage with Webhook

We have an Azure Devops Pipline that contains multiple stages. Build -> Deploy Env 1 -> Deploy Env 2 -> Deploy Env3 For the deployment stage we are offloading the work to an AWS Step Function ...
Grant Trevor's user avatar
  • 1,052
0 votes
2 answers
22 views

Azure Pipelines: Individual CI triggered for pipelines despite trigger: none

I'm a bit at a loss currently with pipeline triggers in azure piplines: My pipelines keep triggering for individual CI whenever I commit to my pipeline experimentation branch ...
Horst724's user avatar
0 votes
1 answer
25 views

Attaching multiple azure subscriptions to a single subscription

Is is possible to attach multiple azure subscription to one master subscription so that we can access all the data from a single subscription instead of integrating with multiple subscriptions.
Divya's user avatar
  • 35
0 votes
1 answer
23 views

Possible to connect to storage account when connected to openvpn vm in subnet

I have an azure vnet, that contains subnet A and subnet B. Subnet A contains SQL server with a private endpoint, also a VM running openvpn. When I connect to the vpn from my local machine, I can ...
Andrew Duffy's user avatar
0 votes
1 answer
28 views

Azure KeyVault access from Azure DevOps release pipeline with no secrets list permissions

TL&DR - My DevOps release pipeline keeps failing with 'does not have secrets list permission on key vault I am stumped with this one, and asking for help, please. The Error 2023-06-07T07:12:53....
Brett Maytom PST's user avatar
0 votes
1 answer
12 views

dotnet restore fails with "##[error]No files matched the search pattern."

I am making sure that the path to the project is correct: path_to_my_project/*.csproj The only time the restore task completes for me is when I give **/*.csproj (however, the build will fail in this ...
Aquarius2145's user avatar
0 votes
0 answers
20 views

Azure CLI - Not able to download packages using az artifacts universal download

After downloading the source code from Azure Devops, we run below command to download all the packages. az artifacts universal download --organization "https://dev.azure.com/TestLtd/" --feed ...
s p's user avatar
  • 777
0 votes
1 answer
16 views

Azure Pipelines - Output from Python Script not being saved to Artifact

I'm new to Azure DevOps; I have a pipeline that runs a python script, which scrapes some text from some files and saves it as a dictionary in a json file. I am trying to publish the json file as a ...
Timothy Liew's user avatar
-3 votes
0 answers
29 views

Faced an error to build and push docker image

Does anyone know how to push image to docker hub? I'm not sure why my code doesn't work ##[error]Unhandled: Unable to locate executable file: 'docker'. Please verify either the file path exists or the ...
Max's user avatar
  • 1
0 votes
1 answer
20 views

Az CLI commands in Azure DevOps pipeline not working as expected

I want to check the statuses of pull requests in a pipeline, then add them to an array if their status is 'abandoned'. However, the documented solutions for running Az CLI commands in ADO Pipelines ...
log1co's user avatar
  • 1
0 votes
1 answer
29 views

How can I cache private NuGet packages on Azure DevOps?

I followed this guide on how to cache NuGet packages in an Azure DevOps pipeline. It works up until it reaches my own custom made NuGet packages. It's failing with the following error: ##[error]The ...
Stefan's user avatar
  • 239
1 vote
0 answers
19 views

Azure DevOps Kanban Board Item Test Annotations have stopped appearing, I think I broke it and need suggestions how to fix it

Azure DevOps Kanban Board Item Test Annotations have stopped appearing, I think I broke it and need suggestions how to fix it. Here is an example of a working one. We have some number that absolutely ...
rboester's user avatar
0 votes
0 answers
39 views

Build Artifacts showing empty folder but build pipeline success - Azure Functions Python

I have the following Folder Structure in the Azure DevOps Repository: Azure Functions Python Version 3.10 - Code available in my previous question #76412683 CI Pipeline (Build): trigger: - main pool:...
Hasher's user avatar
  • 355
-1 votes
0 answers
12 views

Can't use conditionals setting variables in Azure pipeline

I copied the sample from the docs and got the complaint that it's a duplicate key. variables: ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: why: pr ${{ elseif eq(variables['Build....
Konrad Viltersten's user avatar
-1 votes
1 answer
15 views

Is on premises IIS deployment supported by Azure DevOps?

I've developed a .NET6 application, and need to install it on an on-premises IIS server, via Azure DevOps. I've found these yaml tasks that look promising, but it says it's only for classic pipelines: ...
Neil's user avatar
  • 10.8k
1 vote
0 answers
23 views

Is there a way to increase or decrease the amount of purchased parallel jobs via API

Since Azure DevOps doesn't support auto-scaling of the MS hosted agents, I would like to be able to adjust it via automation. But I can't find any APIs that enable adjusting the paid parallel jobs for ...
thisJUSTin816's user avatar
0 votes
0 answers
45 views

Proper maven projects versioning strategy

I have a development in course, based on many projects (each of which represents a microservice). All of them are using the Spring Boot Framework and must be compiled in Azure Devops in order to ...
Fernando Martin's user avatar
0 votes
0 answers
10 views

Use VMware extension on Azure DevOps with Java 11

I have followed this article to set up Azure DevOps to revert a snapshot with the VMware extension. I managed to get it working with vSphere Management SDK 7.0 U3f and adding Java 8 (jdk1.8.0_221) to ...
ffonz's user avatar
  • 1,304
0 votes
0 answers
34 views

git permissions not working in azure devops

I want to deny anyone in the team to refrain from creating a branch based on the main branch in Azure Devops. I am using git repos. Though I execute the below command(and it runs successfully) it ...
kanmani1303's user avatar
0 votes
0 answers
25 views

Updating variable value with PowerShell script in Azure DevOps .yml file

I'm struggling with artifacts File Version of my project. The idea is to input Azure DevOps pipeline run number (which is e.g. 20230506.1 - yyyyMMdd.X) into FileVersion property of .csproj file. Due ...
kryman27's user avatar
-1 votes
1 answer
25 views

Download of an artifact fails intermittenly in Azure pipelines

I'm creating a build pipe and as I checked the edited azure-pipelines.yaml file (the only change in the commit, it ran automatically with a successful outcome (build 42). Then, I ran it again manually ...
Konrad Viltersten's user avatar
-1 votes
0 answers
17 views

Call Azure Devops API from Ansible playbook

I need to call https://learn.microsoft.com/en-us/rest/api/azure/devops/distributedtask/variablegroups/add?view=azure-devops-rest-7.0 POST https://dev.azure.com/{organization}/_apis/distributedtask/...
ABC DEF's user avatar
  • 195
1 vote
1 answer
39 views

How do i solve this kubernetes pod error that keeps runnning into CreateContainerConfigError state

I get this error each time I try to install a helm chart on azure kubernetes service. Initially I got this error: Events: Type Reason Age From Message ---- -...
user5539903's user avatar
0 votes
0 answers
25 views

Published artifacts not found in the directory nor available for download in Azure pipelines

I'm creating a file and publishing it like this. - job: first_job displayName: "Publishing" steps: - pwsh: | New-Item arty.txt -ItemType File Get-ChildItem $(System....
Konrad Viltersten's user avatar
0 votes
0 answers
12 views

CI/CD-To review app flow for pull requests

I'm using the azure repo, i want everytime when a pull request is created from any branch to development to create deployment, service and the ingress for kubernetes and the dev to review his code and ...
Shefqet Salihu's user avatar
0 votes
0 answers
21 views

Downloading Repository as Zip with Enclosing Folder using Azure DevOps REST API

I've been using the Azure DevOps REST API to download repositories as zip files (for use with Conan, the C / C++ package manager.) I use the following endpoint: https://dev.azure.com/{organization}/{...
dvrm's user avatar
  • 3,749
0 votes
1 answer
18 views

Can I connect two organizations of Azure Devops, that are not in the same AAd?

Can I connect two organizations of Azure Devops, that are not in the same AAd? Should I connect the two AADs first? I actually want to make the Azure artifact feed A as an upstream source in the ...
Tanjiro's user avatar
0 votes
1 answer
33 views

Not able to access azure webapp url

Actually I created a webapp and successfully deployed my code into the web app but when I try to access the webapp through URL it showing like this : "You do not have permission to view this ...
Anil Kumar's user avatar
0 votes
0 answers
16 views

Impact of Changing Azure Active Directory (AAD) on Service Connections

I have a question regarding Azure DevOps and its integration with Azure Active Directory (AAD). Specifically, I would like to understand the potential implications when the AAD associated with an ...
Dan's user avatar
  • 1
0 votes
0 answers
6 views

Key automatically reset each time I hit save in Azure Devops Project Service Connection Settings

we have a service connection set up for our project to access resources in azure cloud. Once the service connection secret has expired(after two years), we decided to delete the old secret and create ...
Amuro Hirai's user avatar
0 votes
2 answers
24 views

Can an Azure Devops Template declare and define a variable for use later in the same template?

Imagine you have the following trivial Azure Devops template below. My theory is that the template, when used, replaces all the ${{parameters.MyPath}} properly, but the $MyPath exported by setvariable ...
Nick Anderson's user avatar
-1 votes
0 answers
23 views

Change the language of Azure DevOps

How can I change the language of Azure DevOps? I've already tried to change to portuguese, but it did not work. I tried to change the language but nothing happened, the language continued to be in ...
JoaoMaia's user avatar
0 votes
1 answer
26 views

Problem referencing predefined variable in {{ if/elseif/else }} template syntax in Azure Pipelines YAML

In the following edited and simplified snippet of Azure Pipelines YAML, I'm not able to get distributionGroupIds set to <guid2>. As shown below, it returns <guid1>. If I change 'merge' to '...
ubienewbie's user avatar
  • 1,701
2 votes
1 answer
105 views

DotNetCoreCLI@2 Restore failing on all solutions today

Starting today, all 28 of our Azure DevOps hosted .Net builds are failing on the nuget restore task. task: DotNetCoreCLI@2 displayName: Restore inputs: command: restore projects: | $(BuildParameters....
Troy Phoenix's user avatar
-1 votes
0 answers
14 views

How to include external coverage.cobertura.xml generated file data in SonarQube Azure pipeline yaml

I am working on the Microservice and we are deploying the code using azure devops pipeline. Currently when we deploy the changes in sonarqube it is showing that 15% code coverage while when i run ...
nittin aggarwal's user avatar
0 votes
0 answers
22 views

Azure pipeline IIS web app manage stop/start pool remotely

I have some problem, I need to stop and start IIS pool on remote server, from server with build agent during azure pipeline. I found that it can be done with "IIS web app manage" task, but ...
Dominik Miedziński's user avatar
0 votes
1 answer
27 views

Whitelist DevOps Pipeline for Deployment Log Access

I have a .NET Core based API that is hosted in an Azure VNET and is not publicly available. To allow an Azure DevOps release pipeline to access this Azure resource, I followed the suggestion in this ...
PoorInRichfield's user avatar
0 votes
0 answers
14 views

Multi stage Azure DevOps release pipeline based on different git commits

I'm trying to create an Azure DevOps release pipeline using multiple stages, where each stage should be based on a different git commit, but actually, I have some problems. I created the following ...
Salvatore Calla''s user avatar

1
2 3 4 5
591