2,154 questions
0
votes
0
answers
38
views
Azure DevOPS - Bitbucket OAUTH Consumer Integration - Getting 404
Tried to integrate bitbucket to Azure Devops, created bitbucket OAUTH Consumer and calbback url as "https://app.vssps.visualstudio.com/oauth/callback" and the added OAUTH configuration in ...
2
votes
1
answer
40
views
How do I get VSTest fails to register as fail and not warnings?
We have a YAML test script which has steps with dependencies on previous Jobs.
Job 1 will build the smoke tests app and then run it. If the VSTest step fails we see a status of warning instead of fail ...
-1
votes
0
answers
85
views
Devops. Variable template with BuildNumber
I have a devops template to add BuildNumber variable to my pipelines and I'm having problems when I pass a formated or contatenated string as parameter.
I want a template to reuse this BuildNumber in ...
0
votes
1
answer
82
views
Pipeline needs permission error on certain users
We have an environment named DevServers.
My colleague created a new deploy yml pipeline. First time he tried this, we get blocked by this error:
This pipeline needs permission to access a resource ...
0
votes
1
answer
90
views
error NU1100: Unable to resolve 'XYZ' for 'net8.0'. PackageSourceMapping is enabled, the following source(s) were not considered: feed-Uno, nuget.org
Task name
DotNetCoreCLI@2
Task version
2.266.0
Issue Description
We have a service targetting to the .net 8. There was no issues with the deployement so far, but suddenly it started failing on dotnet ...
0
votes
1
answer
65
views
Azure DevOps Pipeline not triggering
I have an existing YAML file that would trigger on anything committed to the repo:
trigger:
- main
- releases/*
pr:
branches:
include:
- '*'
resources:
- repo: self
My goal is to ...
Best practices
0
votes
2
replies
40
views
Conditional checkout of repository in build Azure DevOps pipeline
I have entry pipeline for build in Azure DevOps. Some applications have defined only templates-repo repository, others have also defined changelogs repository. Parameter ChangelogSync specifies if ...
3
votes
1
answer
60
views
How do I use an artifact in an Azure Pipeline?
We have an Azure pipeline (YAML) which runs on demand and will create a zipped artifact which is then executed in a release pipeline.
This is the YAML file, this process works as expected:
variables:
...
0
votes
0
answers
36
views
Making a link clickable in Azure Pipelines YAML
I have a YAML job where I want the link in the ManualValidation@0 task instructions to appear as clickable. Here is the job definition:
job: Manual_CreatePR
displayName: 'Manual: Open GitHub PR for ...
0
votes
0
answers
55
views
How do I stop the artifact being over-written during an azure pipeline test rerun?
So we have a YAML file which executes a group of tests on azure at 3am every day.
The tests themselves are C#, Playwright test which use Reqnroll to read the cucumber style feature files. The full ...
0
votes
2
answers
89
views
Azure Pipelines: Referencing a script from a template library repository results in ENOENT error
I'm trying to move an azure-pipelines.yml step to a pipeline library repository, to ensure that the step can be reused. The setup consists of a main repository (repo-a) and a shared pipeline templates ...
0
votes
1
answer
228
views
Azure DevOps, optional parameter with empty string as default?
Is there a way to have an optional runtime parameter that defaults to an empty string and have it actually display an empty string?
Issue 1: When using an empty string, the parameter becomes required ...
0
votes
1
answer
78
views
How to reference other folders in Azure Devops pipelines
On Azure Devops I want to run ".ci/build.yml" pipeline which builds images in "python/version/flavor" folders.
For each version there is a dockerfile and a version.yml which ...
1
vote
0
answers
64
views
Conditionally trigger template based on Pipeline Artifact Variable
I have two pipelines
Build (spins up a server)
Release (installs software on built server)
Working fine - but I want to now conditionally install specific software on a server depending on some ...
0
votes
1
answer
91
views
Az Pipelines. Use variable group for conditional Insert
I have a variable group called SharepointConnect with two variables.
SharepointConnect.Enable: 'true'
SharepointConnect.Mode: 'AzTask'
With this pipeline YML no one of the steps are being inserted ...