New answers tagged azure-devops
0 votes
how to include multiple code coverage's in the pipeline
I did this extension to answer this question: https://marketplace.visualstudio.com/items?itemName=ranouf.publish-html-tab You can use it like this: Single HTML file: steps: - task: PublishHtmlTab@1 ...
0 votes
Use same variable from multiple Azure DevOps Pipeline Libraries
Depending on how many pipelines you have and how flexible you need to be with the name of the service connection, you could just set the serviceconnection name in the pipeline variables: name: $(Build....
Best practices
1 vote
0 replies
0 views
Azure Devops test plan import
From the error message, it seems like some of the fields in project A allow values that are not allowed in project B. Area path would be the likely culprit here because two projects by definition have ...
1 vote
Azure Microsoft Hosted Agent is always in Queue or Connecting status
Suddenly, it started working on its own. I waited for about an hour with a queued pipeline, and then it started after a while.
0 votes
What exactly does "There are some conflict resolutions applied that aren't visible in the Files tab." mean?
After reading this I take it to mean: Don't use the DevOps Conflicts tab for resolving conflicts. Instead on your workstation: Fetch Merge master branch -> feature branch Push a new commit to ...
0 votes
AADSTS50020: Personal/external account cannot access Azure DevOps OAuth app registered in company tenant
For Entea B2B tenant (currently known as workforce tenant) external users need to be invited to directory as guest (external users). They cannot simply join your tenant w/o consent
1 vote
Is it possible to deny an Azure Devops group access to create main branches, but allow them to create branches under subfolders?
Yes this is possible, though a bit hidden. The isn't an easy UI for this, but you can set permissions using the commandline with the tf git permission command: Microsoft (R) TF - Team Foundation ...
0 votes
Accepted
How to get a list of all Azure DevOps project users using REST API with TypeScript
Based an Aleksandr's answer, I came up with code, that solves the functionality I was looking for. Functionally it looks like: import { CommonServiceIds, IProjectPageService, getClient } from 'azure-...
1 vote
Restore NuGet Packages from a Private Feed when building Docker Containers
After facing the same problem, I have looked around and there are couple of approaches. This answer also references the documentation provided in the other answer, but additionally presents pieces of ...
0 votes
Accepted
Modifying files during an Azure DevOps Build Validation pipeline keeps triggering re-runs
[skip-ci] or any other variant of it doesn't work for Build Validation runs by design: https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/azure-repos-git?view=azure-devops&tabs=yaml#pr-...
0 votes
Conditionally Set Environment Azure DevOps
- stage: approval_stage displayName: "👍 Approval Stage" condition: and(not(failed()), not(canceled()), not(contains(variables['Build.QueuedBy'], 'Build Service'))) jobs: - ...
1 vote
How to get a list of all Azure DevOps project users using REST API with TypeScript
Azure DevOps doesn’t have a single listUsers(projectId) call. The “cleanest” way is to use Graph Users – List with a scopeDescriptor that represents your project. https://learn.microsoft.com/en-us/...
0 votes
How to get code coverage for Async methods, when using .Net Framework and Azure pipelines VSTest@2 task
Executing this scipt after dotnet coverage comand solves my issue: # Merges compiler-generated class entries (async state machines, lambda display classes, etc.) # back into their parent class entries ...
0 votes
VSTS : automatically rebase/merge and requeue build validation gate in case of build expiration
There is a more direct solution to your question. Sure, there is no out-of-the-box mechanism to handle requeuing in case the target branch is updated while other PRs to it are active and either have ...
0 votes
How can I filter Azure Pipeline runs using 2 or more tags?
The pipeline runs view (dev.azure.com/{organization}/{project}/_build?view=runs&tagFilter=example,multiple) filters for runs containing any of the tags, OR style as Bright Ran pointed out. ...
0 votes
How to Define Reusable Job Cluster Configurations in Databricks Asset Bundles Across Separate YAML Files?
For anyone who has found their way here, this is the approach I have taken. Set up the cluster configuration as a complex variable in its own YML file: variables: jb-cluster-sml: description: &...
Tooling
0 votes
0 replies
0 views
How to retrieve Test Cases from a Test Execution in Xray Cloud for manual-triggered automation (Azure DevOps integration)?
Can you please elaborate a bit on what do you mean exactly with "I am unable to reliably retrieve the Test Cases associated with a specific Test Execution." , so we can better assist you?
Advice
0 votes
0 replies
0 views
Azure Devops Query to Show Created vs Completed User Stories in a Bar Chart
I do not of a way to accomplish this with ADO’s native queries and dashboard widgets because you are essentially trying to group your data by two dimensions (created date and completed date) but none ...
0 votes
Is there some kind of Azure DevOps Work Item Tracker?
We had similar problems in our use of DevOps that there wasn't a more central 'feed' view of items to track progress. I created this DevOps extension to solve exactly that. It's worked nicely for our ...
-1 votes
How do I Track Work item history using Power BI?
Hi there viewers finding this question later. We had a similar problem in our use of DevOps that there wasn't a great way to see and track updates to work items. I created this ADO extension, Feedster,...
Advice
0 votes
0 replies
0 views
Advice
0 votes
0 replies
0 views
Advice
0 votes
0 replies
0 views
Backup GIT Repository Azure DevOps
https://github.com/refined-github/refined-github this could be useful as well. I havn't even went through half of all the added features this thing is pretty.
-1 votes
How does one set a variable in PowerShell?
How does one set a variable in PowerShell? Variables $VariableName or ${'Variable Name'} + = 'AssignedValue' Set-Variable -Name 'Variable Name' -Value 'Applied Value' New-Variable -Name 'Variable ...
Advice
0 votes
0 replies
0 views
Backup GIT Repository Azure DevOps
git archive doesn't backup Git metainformation — branches, commits, tags. It only archive files from a single commit.
Advice
0 votes
0 replies
0 views
Backup GIT Repository Azure DevOps
https://git-scm.com/docs/git-archive use it ...........................................................
0 votes
Accepted
Replace connection string in a web.config during Azure release pipeline not working
Transform File task matches attributes name entries in connectionStrings section automatically. Your variable name connectionStrings.ppm.connectionString is a syntax used for json. For .xml your ...
0 votes
Azure DevOps Pipeline not triggering
Are new pipeline on feature branch or in main? Whenever pipeline is triggered it runs using the file which exists on the triggering branch. So if your triggers says to react on changes on selected ...
Top 50 recent answers are included
Related Tags
azure-devops × 33405azure-pipelines × 9756
azure × 8399
azure-devops-server × 2784
git × 2222
azure-pipelines-yaml × 1641
azure-devops-rest-api × 1572
powershell × 1567
azure-pipelines-release-pipeline × 1501
c# × 1349
yaml × 1229
devops × 1137
visual-studio × 1064
continuous-integration × 1025
docker × 799
azure-web-app-service × 763
azure-pipelines-build-task × 746
.net × 599
nuget × 550
azure-functions × 538
msbuild × 537
python × 503
azure-active-directory × 471
.net-core × 467
azure-artifacts × 440