Questions tagged [azure-devops-pipelines]
269 questions
1
vote
2 answers
Is there any way to get the TriggeredBy value inside the release pipeline in Azure Devops
i want to receive the Triggered By value inside the Azure release pipeline TriggeredBy

nishu raj
- 11
- 1
1
vote
2 answers
Azure DevOps Release Pipeline using Packaged Build and Publish Profile
I am trying to create a release pipeline in Azure DevOps. We already have a functioning build pipeline that works well, it is able to package the build with VSBuild and publish it as an artifact. Then in the release pipeline I am using an IIS…

Andrew
- 585
- 1
- 7
- 17
1
vote
1 answer
How to fix the Error "Error Code: ERROR_DESTINATION_INVALID" in Azure DevOps release pipelines
I have created the app service in existing internal app service environment. And then I’m trying to deploy the source code into above app service using Azure DevOps CI & CD pipelines. But, in the release pipeline I’m getting the below error message…

Pradeep
- 5,101
- 14
- 68
- 140
1
vote
1 answer
Azure Pipelines agent running in container throwing error on concurrent builds
I have three Azure Pipeline agents built on Ubuntu 18.04 images and deployed to a Kubernetes cluster. Agents are running the latest version, 2.182.1, but this problem also happened using 2.181.0.
Executing build pipelines individually works just…

Bryan
- 258
- 3
- 11
1
vote
1 answer
How do I copy files in Azure DevOps?
How do I copy a single file using the CopyFiles Task without copying its entire enclosing folder hierarchy? When the following task executes:
- task: CopyFiles@2
inputs:
Contents: '**/dataSettings.json'
TargetFolder:…

ATL_DEV
- 9,256
- 11
- 60
- 102
1
vote
3 answers
More than one package matched with specified pattern: D:\a\r1\a\**\*.zip. Please restrain the search pattern
I have migrated my .NET Core 3.1 web api project to .NET 5, when I configured my release pipeline in azure DevOps, I have received the below error.
2021-02-18T16:07:51.6102920Z ##[section]Starting: Deploy Azure App
Service…

Parthiban
- 81
- 2
- 12
1
vote
1 answer
Adding a custom "Where is your code" source
If at all possible, how can one define a custom source for the "Where is your code" selection in Azure DevOps?
Purely for example, say I wanted to use GitLab as my source. Given that no current extensions exist in the marketplace that do this, how…

JoshuaTheMiller
- 2,582
- 25
- 27
1
vote
0 answers
Shell Script Fail on Azure Devops Piplines Pass locally
I Run a single compile command on azure devops pipeline and it fails .
Same line / Script pass locally on the same machine
Using Azure Devops Server 2020
Agent on Premise
the code is a VB6 compile command
vb6 /MAKE C:\GIT\AutoLoaderConfig.vbp…

galsi
- 421
- 1
- 6
- 19
1
vote
3 answers
Use ACR ( azure container registry) as input to Azure Devops json pipeline
Not able to find a way pass image from ACR as artifact to Azure DevOps pipeline JSON.
In other words, I am trying to replicate artifact from Azure DevOps Releases(see attached image), want user to have option to select image from ACR while running…

vibhore miglani
- 31
- 1
- 4
1
vote
2 answers
Azure Devops pipeline pytest collection failure ModuleNotFoundError: No module named
I get the following error when running an azure pipeline.
Here is the pytest part of my pipelines yaml file.
steps:
#test
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python…

Osvald Laurits
- 1,228
- 2
- 17
- 32
1
vote
2 answers
Azure DevOps manually publish an external libraries to Azure Artifacts?
When I run my build pipeline, all the libraries will publish to the Azure DevOps Artifacts(Because they will downloaded in Maven Central).
But I have a external libraries which I have created manually on my local computer and it's a jar like this…

jasonroy7dct
- 29
- 2
- 8
1
vote
2 answers
Could not read Password for 'Repository URL': terminal prompts disabled
I am executing a batch file in Azure DevOps Pipeline which has following statement.
git init
git checkout -b %BranchName%
git remote add origin %RepoURL%
git fetch && git checkout %BranchName%
The parameters gets the values from…

VKD
- 633
- 2
- 12
- 28
1
vote
2 answers
Using GitPython in Azure DevOps pipelines causes 'git: 'credential-manager-core' is not a git command
When we use GitPython in Azure DevOps and try to push to a repository, the following message occurs (same repository as cloned by the pipeline):
stderr: 'git: 'credential-manager-core' is not a git command. See 'git --help'.
Infrastructure:…

BendEg
- 20,098
- 17
- 57
- 131
1
vote
0 answers
Cmd.exe exited with code '5' on Azure DevOps when multiple python test scripts runs in one go
I'm trying to execute multiple python scripts within Azure DevOps pipeline but the "##[error]Cmd.exe exited with code '5'." is returned with no identification of any testcase apparently.
In the "execute script" step of the pipeline, the following…

Donato Di Pierro
- 11
- 4
1
vote
1 answer
How to read system defined capabilities for an agent in a tfs
I want to read my Msbuild path from my self hosted build agent as system defined capabilities, is there any way out to do so ?

Amardeep Kumar Agrawal
- 440
- 3
- 10