Questions tagged [azure-pipelines]
Azure Pipelines provides build services (CI), that are free for open source projects and available in the GitHub marketplace. Azure Pipelines also provides release management for continuous delivery (CD) to any cloud and on-premises servers. With Azure Pipelines, you’ll be able to continuously build, test and deploy to any platform and cloud. **Do not** use this tag for Azure Data Factory pipeline questions.
azure-pipelines
12,367
questions
0
votes
0
answers
7
views
How can I get the name of the user that approved azure devops pipeline
How can I get the name of the user that approved the deployment and echo the information into a script step?
Here's how I've setup azure devops pipeline yml with approval requirement:
set up an ...
0
votes
2
answers
31
views
Azure DevOps Pipeline Fails During Package Publishing Step for .NET 8 Project
I have a .Net 8 Project running in an Azure Function App and I am using via Azure devops pipeline as CICD. Everything runs fine without issue. Now I am having some problems. I have not made a code ...
-2
votes
1
answer
29
views
Is there any way to create reusable and scalable build and deployment pipeline(s) for similar services in an Azure DevOps environment?
and apoligies in advance for not being able to keep this any shorter.
I'm working with my team on a relatively large structure of related services (/ microservices) all hosted on Docker containers, ...
0
votes
1
answer
26
views
No artifact output from dotnet-ef migrations script in Devops Pipeline
I have a Devops pipeline which used to run under a windows-latest agent. We've recently moved it to ubuntu-latest for a variety of reasons. However since that change, the dotnet-ef tool has not been ...
0
votes
1
answer
36
views
Some ADO build pipelines show all of the work items in linked items and others only show relevant items. Looking for ideas
I am trying to update linked work items with build statuses in ADO.
I created a script that gets linked items from RestApi using the build.id and posts needed updates. Script works fine. My problem is ...
0
votes
1
answer
40
views
How to grant permissions to call Azure DevOps REST API using System.AccessToken?
I want to call the Azure DevOps REST API's Test Suites - Create endpoint from an Azure DevOps Release pipeline.
I am doing this from a PowerShell task and I am using System.AccessToken. When I try to ...
0
votes
2
answers
36
views
How Azure DevOps Pipeline condition evaluates parameters?
Given the following Azure DevOps pipeline template:
parameters:
- name: AUTH_TYPE
type: string
steps:
- task: Bash@3
displayName: Parameter print
inputs:
targetType: inline
...
0
votes
1
answer
33
views
Create private endpoint for Azure App Service Environment_v3 using Terraform
I need to create a new private endpoint for an Azure App Service Environment_v3 using Terraform but I am unable to come up with the code since the sub-resource type for App Service Environment is not ...
0
votes
1
answer
41
views
Access junit file TestResults.xml before publishing it in Azure Devops
I have a powershell task in ADO (yaml pipeline) to run unit tests.
I also have a separate task to publish the test results file which follows the above task.
For some requirements that I'm working on, ...
0
votes
1
answer
53
views
Azure DevOps YAML - can I trigger a job on another agent?
Currently my DevOps pipeline uses two servers to run things in parallel:
jobBuildAll on server 1:
build Debug version
run all unit tests
jobBuildAll on server 2:
build Release version
run static ...
0
votes
1
answer
32
views
How to add condition to a stage in azure-pipeline.yaml properly
I have a pipeline that creates a chocolatey package based on the repo.
In the first stage I create the package, check if the package created and copy the nupkg to the destination. That works ...
0
votes
0
answers
62
views
How do you resolve permission issues when deploying an Azure App Service using Azure DevOps?
We have a pretty basic NodeJS Express application that we package in a docker container and publish to an Azure Container Registry using an Azure DevOps build pipeline. This part works fine, but when ...
0
votes
1
answer
53
views
How do I make my relative paths working when running scripts from my Azure Pipeline?
I have a problem with my Azure Pipeline. The pipeline itself is quite simple and its purpose is in the example to run gen.py:
# azure-pipelines.yml
trigger:
- master
pool:
vmImage: 'windows-latest'
...
0
votes
1
answer
67
views
Azure DevOps Pipeline Error: No Agent Found with Version Greater Than 2.220.0
I recently started encountering an error in my Azure DevOps pipeline that previously built without any issues. The error message is as follows:
No agent found in pool Default which satisfies the ...
1
vote
1
answer
65
views
How to use secrets in Azure DevOps Powershell script task
I have a secret in a Azure keyvault which basically stores 1 command az login --service-principal -u ...
I am trying to call this secret in a simple Powershell Task but when I run the pipeline every ...