Questions tagged [azure-devops-pipelines]
269 questions
1
vote
1 answer
Why is the Build trigger complaining about Webhooks missing
It is time we enabled the Continuous Integration of the build pipeline, so when I went to do just that, i am seeing something strange...
The trigger appears to be enabled? yet theres a message suggesting webhooks are missing to the repo and need to…

Cataster
- 3,081
- 5
- 32
- 79
1
vote
1 answer
Azure DevOps Pipelines Agent Pool via Terraformed Scale Set
I was tasked with creating a Linux-based Scale Set for use with Azure DevOps Pipelines in Terraform.
I have everything set up for the basics; however, when I click on the Agents tab in the Agent pools area of my DevOps Project, I get the…

el n00b
- 1,957
- 7
- 37
- 64
1
vote
0 answers
Azure DevOps Pipelines cannot find project file path due to $(SolutionDir) macros on Git submodules
Azure DevOps Pipelines cannot find project file path due to $(SolutionDir) macros on Git submodules.
I run the build task below for Solution1.sln, this solution includes several projects checked out from Git submodules.
One of these Git submodules…

neualex
- 51
- 11
1
vote
1 answer
Devops & Bitbucket Build Pipeline - not enough space on the disk
I'm trying to build Azure devops pipeline which connected with project uploaded to Bitbucket repository, but each build I faced these 3 errors
Error MSB3491: Could not write lines to file "obj\Release\XXX.txt". There is not enough space on the…

alhassan ali
- 131
- 2
- 7
1
vote
3 answers
Commit files into azure git repo using azure devops
how to commit files into azure git repo using build pipeline.
I am generating some files from my azure ci pipeline and I want to commit those files into the same repo which I used in my ci pipeline.
I have added the azure CLI task and added an…

Jaydeepsinh
- 83
- 1
- 8
1
vote
1 answer
Error while trying to create a release definition using Azure DevOps Rest API
I am using below script to create a release definition in Azure DveOps with a PowerShell script, but its failing with error message as below. Not sure where am giving incorrect details.
Invoke-RestMethod…

Padmapriya Kp
- 55
- 7
1
vote
0 answers
Publish pipeline metadata with "NuGet Authenticate" task
Since “NuGet Authenticate” is a recommended approach now instead of “NuGet” task, how do you publish pipeline metadata when pushing the packages (the functionality that is provided using publishPackageMetadata argument)?

Alex I
- 2,078
- 3
- 18
- 24
1
vote
1 answer
Is there a way to bypass a check policy on Azure DevOps Server for deployment to environment?
Currently in my CI/CD pipeline on Azure DevOps Server I'm taking advance approvals for the production stage scheduled to run in future using a business hour check and an approval on the same resource. The deployment correctly starts in the next…

luigi.ricciato
- 11
- 1
1
vote
0 answers
Azure DevOps deploy Angular app to IIS with Octopus
I'm trying to deploy a Angular application to my IIS server using Octopus and Azure DevOps
My application has multiple environments, each environment with it's own settings (config.prod.json)
What I want to do
Basically Octopus should take the…

Gerald Hughes
- 5,771
- 20
- 73
- 131
1
vote
1 answer
Azure DevOps - Package Application for Octopus: System.IO.IOException: The parameter is incorrect *
I'm trying to package my application into a zip file, in order to send it to Octopus.
The log looks like this:
2021-05-17T21:15:00.8077153Z D:\a\r1\a>dotnet "C:\hostedtoolcache\windows\octo\7.4.3213\x64\/octo.dll" pack "--id=KFPortal" "--format=Zip"…

Gerald Hughes
- 5,771
- 20
- 73
- 131
1
vote
1 answer
No tests found after splitting tasks out into separate jobs
I am trying to refactor my build pipeline by splitting some tasks out into separate jobs for extensibility.
The following works perfectly and the tests are found and ran without issue.
stages:
- stage: build_test_publish
displayName: Build
…

Tom Andrews
- 51
- 8
1
vote
1 answer
Azure DevOps Powershell get work item related to build pipeline
I have a build pipeline with a trigger on new branch creation. The trigger works fine with me creating a new branch and linking a workitem task to the new branch.
I have tried to run the query through the API to retrieve the workitem associated to…

Shane
- 11
- 3
1
vote
1 answer
How to assign conditional value to variable in Azure DevOps?
I am trying to assign conditional value to an environment variable in Azure DevOps but it is not working.
This is my pipeline code:
pr: none
trigger: none
stages:
- stage: Mail
variables:
- group: API_Key
jobs:
- job:…

Ankit Soni
- 95
- 2
- 13
1
vote
1 answer
Need to encode PAT to use it in REST API for azure devops in a BASH script, struck with issue with PAT encoding and passing in the body
Need to encode PAT to use it in REST API for azure devops, struck with issue with PAT encoding and passing in the body. Need help with the format to encode PAT and use it in the body of REST. I am using this in a BASH…

Devops-Learner
- 451
- 1
- 4
- 16
1
vote
1 answer
Use single deployment group for multiple projects azure devops
I have one azure devops organization with 1 project, using the organizations deployment pool.
I've recently created a second project (newProject2) and want to use these same agents in the organizations pool.
Without configuring anything, the pools…

MyName
- 180
- 1
- 2
- 19