12,533
questions
0
votes
0
answers
6
views
azure pipelines ssm command task assistance
Im trying to use the azure pipelines task SystemsManagerRunCommand@1 to run some ssm docs commands to install and update cloud watch agents on target machines.
However im having issues trying to ...
0
votes
1
answer
40
views
How to create Azure Devops Service Connection Docker Registry Type Other
I need help to create correctly an Azure Devops Service Connection for an Azure Container Registry (ACR) but I have only username and password to login.
I have created the credential with this script:
...
0
votes
1
answer
32
views
How to authenticate GitHub REST API in Azure on behalf of Azure Pipelines GitHub App?
I am trying to make a GitHub PR from my Azure Pipeline. I already have Azure Pipeline GitHub App installed. That's how my Azure Pipeline connects to the GitHub repository. It already has the ...
0
votes
1
answer
47
views
How to run a pipeline with parameters
In Azure Devops Server 2019, I have a build written in yaml in the Pipelines/Builds section. It's possible to enter some parameters values through a ui using the "Run with parameters" option....
-1
votes
0
answers
29
views
Azure Agent for Azure PipeLine [closed]
I have one Azure Agent uses for Azure Pipelines which fails every so often due to:
Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to set up your Azure ...
0
votes
0
answers
43
views
Run postman tests with files on pipeline in MS Azure
I would like to ask about the problem of running postman tests in pipeline on MS Azure auto deploy. In some of PM tests i need files in body. How would you solve this problem to include the files for ...
0
votes
1
answer
45
views
How to force renovate to set azure pipeline task from "x@1" to "x@2" instead of "[email protected]"
[CONTEXT]
I use renovate (azure-pipeline manager) to update my YML azure pipelines tasks.
[NEED]
If my pipeline calls my-task@1, I don't want a PR that sets [email protected], I want to keep this notation ...
0
votes
2
answers
46
views
How to Exclude a Specific Agent from Running Jobs in Azure Pipelines YAML?
I'm working with Azure Pipelines and have a setup where I have multiple local agents in a pool. However, one of these agents is failing frequently, and I want to ensure that my pipeline does not run ...
0
votes
1
answer
77
views
Sending Notification in Microsoft Teams using Webhook Request Workflow
I had built a pipeline which scans the Keyvaults and sends a Microsoft Teams notification using Webhook(Eonos Office Webhook) incase any Key/Certificate has expired/about to Expire. And the pipeline ...
0
votes
1
answer
209
views
Pass a Terraform Output to an Azure DevOps Varibale
i'm trying to create an Azure DEvOps pipeline that deploy a VM using terraform, and then connect to that VM using WinRm to execute script but i can't find a way to pass the Public IP captured from ...
1
vote
1
answer
56
views
create variable with multiple values in azure pipeline yaml
I can only assign a single value to a variable in azure pipeline YAML file, this is how I have now on Azure.
parameters:
- name: env
displayName: 'Environment'
type: string
default: ''
...
0
votes
1
answer
43
views
Bash Task in Azure DevOps not able to recognize variable in set in Classic Release pipeline
I am trying to run below commands in .sh file in Bash Task in Azure Devops classic pipeline:
set -e
pip install azure-identity
pip install azure-cosmos
pip install requests
set +e
az login --service-...
0
votes
1
answer
47
views
Credentials not being passed from Azure Keyvault correctly during docker image build
I have a python script that uses the DefaultAzureCredential() function provided by the azure.identity library. This works fine locally when I'm logged into my Azure account that has the correct ...
0
votes
0
answers
57
views
How to build Azure AI endpoint and deployments of models using pipelines
Using Azure Portal and AI Studio, I created the deployment of two models selected on AI Studio, an endpoint and a workspace. I don't really know what I'm doing and try to learn by doing. Now I need ...
0
votes
1
answer
76
views
Description: AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value
We have a pipeline that deploys the files to a Azure Function App. The secret expired few weeks ago and then added a new secret and updated the pipeline with it but since then the pipeline is failing ...
0
votes
1
answer
57
views
How to use multiple environments from one Azure pipeline?
We have an Azure DevOps pipeline that executes functional and UI tests.
To achieve that, as a first step the pipeline deploys our application (which consists of a SQL database and multiple ASP.NET web ...
0
votes
1
answer
77
views
Can't restore Maui packages targeting net8.0-ios and net8.0-android on Azure Devops Pipeline
i have a net8 maui app with the following target frameworks:
<TargetFrameworks>net8.0-android;net8.0-ios;</TargetFrameworks>
i'm able to build, deploy and run on my physical ...
0
votes
1
answer
45
views
Pass an array of string to a powershell script from a yaml template
I have the following step in a yaml file which uses a template:
steps:
- template: 'templatePool.yml'
parameters:
Action: "Stop"
MachineDeploiement: 'system1'
...
0
votes
1
answer
70
views
Microsoft Azure DevOps builds include all code and debug
We are trying to automate a 4.72 web site build from Azure DevOps to IIS. In the yaml of the pipeline, we have tried various different parameters, below is the latest.
However, we still get source ...
0
votes
2
answers
40
views
Repository permanency between stages in an Azure DevOps pipeline
I have an Azure DevOps pipeline with 3 stages in it.
Stage 1: Checkout the self repository. Create folders. Push the changes back to the repo
Stage 2: Checkout the self repository. Create files in the ...
0
votes
1
answer
63
views
Setting up file share for NuGet packages cache on Azure VM Scale Set with Azure DevOps self hosted agents
I have setup a VM Scale Set and configured it with Azure DevOps as an agent pool.
In order to prevent nuget packages being re-downloaded on every build, I have created a File Share with a storage ...
1
vote
2
answers
102
views
How to properly pass a variable into a function
We have a deployment script in DevOps that uses the "az apim nv create" command to create/update an APIM named value. We use this the create a named value that contains the Access key of an ...
0
votes
1
answer
55
views
Lacks permission to complete Push nuget package via azure CICD
I am trying to create a NuGet package and publish it to an internal feed using an Azure CI/CD pipeline. Below are the details:
Organization name: devStierMate
Azure project name: Common'
Feed name: ...
-1
votes
1
answer
89
views
Deploying Container App with Arm Template via Azure Devops: UNAUTHORIZED: authentication required
For the first time I am trying to deploy the container app.
I have a Azure Container Registry already deployed.
I have set the permissions for the Azure Service Connection for ACR pull / push etcetera ...
0
votes
1
answer
79
views
Azure Pipelines - How to get latest version of a published NuGet package from a feed
I have a pipeline that builds a package and publishes it to a private feed. I then want to extract the version of the package and use it in other steps in the pipeline.
Is there a way to get the ...
0
votes
3
answers
73
views
How to use an Azure Devops Release task to execute a Azure Pipeline
Hey guys please I have a Azure Devops Pipeline configured. I need to create a Azure DevOps Release to run this pipeline... which kind of task should I choose from the list?
I've created a Azure DevOps ...
1
vote
1
answer
50
views
Azure DevOps JavaToolInstaller Error/Issue with JDK versions
Trying to implement a pipeline with Azure DevOps for springboot maven 4.0 on jdk17.
There is an issue where the pipeline is incompatible with one of the bash commands as it wants to run jdk11.
I am ...
-3
votes
0
answers
26
views
No package found with specified pattern.<br/>Check if the package mentioned in the task is published as an artifact in the build or a previous stage [duplicate]
85
I have an ASP.NET Core project in Azure DevOps repository and it gets built OK using the DevOps build pipeline. However, the release over that builds always fails with this error:
Here is my azure....
0
votes
1
answer
62
views
Azure devops pipelines to GitHub Release
Hi have the following release task set up for github org release,
- task: GitHubRelease@1
inputs:
gitHubConnection: '(GH) Prod-RW-Releases'
repositoryName: '...
0
votes
1
answer
62
views
Is there a way for notebooks in synapse to take in pipeline variables?
new to this and apologise for any frustrations.
I am developing a notebook which can handle api requests however I want to use one notebook which can intake the pipeline variables so the same notebook ...
0
votes
1
answer
28
views
Not able to create a release workitem using CreateWorkItem@2 task
I am trying to create a release work item using azure pipeline task "CreateWorkItem@2" but the pipeline is failing due to TF401320: Rule Error for field Description error.
Task Code"
- ...
0
votes
1
answer
134
views
How to override pipeline's parameters in Azure DevOps during the release?
I have specified parameters in some pipelines in Azure Synapse Analytics, like this:
The value of the variables is different in Production and Pre-Production's environments. During the release in ...
-4
votes
0
answers
31
views
How to run the Appium script in Azure using the pipeline [closed]
My script is running locally, connected with the sauce lab but I want to Run it with the Azure pipeline. I have tried writing it but I'm facing issues with installing Appium, Pytest. It just says ...
0
votes
2
answers
64
views
AzureDevops yml pipline if condition for a variable not working
variables:
- name: RerunFailedTestCase
${{if and(ge(variables['system.clock.hour'], 19), lt(variables['system.clock.hour'], 23)) }}:
value: 'false'
${{ else }}:
value: 'true'
have created ...
1
vote
1
answer
38
views
How to add a pull request check for a different repo's pipeline
My primary repo "MainApp" has 3 different .NET projects and the master branch is called develop. Each project has its own pipeline therefore I've setup build validations for the branch to ...
0
votes
1
answer
84
views
Azure Pipeline: Unable to pass templates through two other templates
I have 2 template files that I am passing to another (stage) template (file: build-and-deploy.yml) that's in another repo (repoB) and I am doing this from azure-pipeline.yml which is in repoA. Once in ...
0
votes
1
answer
50
views
Failed to load “tfplan” as a plan file
I am performing a very simple testing on TF + AzureDevops pipeline. the plan stage is success but the Deploy stage is failing with Failed to load “tfplan” as a plan file
I can see a new plan file is ...
0
votes
1
answer
66
views
UsePythonVersion0 error in self hosted runner on windows
Following is the code in my yml file.
- task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
addToPath: true
architecture: 'x64'
I am using DevOps on self-hosted runner installed on ...
0
votes
1
answer
94
views
Increment Azure Pipelines version number with commits
I have an Azure DevOps pipeline that references two repos:
The code repo, which contains my application code
The config repo, which contains my environment variable config files.
The idea is that I ...
0
votes
1
answer
77
views
Pipeline variables not expanding in Docker build args
I am trying to pass today’s date to a Dockerfile using a —build-arg in the Azure DevOps Docker@2 task. However, whenever I pass the variable, it doesn’t expand.
I have a template file for variables ...
0
votes
1
answer
83
views
Azure devops variables are not updating
I am trying to update the devops pipeline library variables through azure devops task via yaml. This is the code I have
- script: |
echo "Updating variable group..."
echo $(System....
1
vote
1
answer
247
views
Azure DevOps Pipeline Throwing Error with Terraform While Deploying to Azure
I am trying to deploy a VM in an existing availability set and VNET/SNET in a particular existing Resource Group
I am using open source Terraform and my state file is stored in a storage container
...
0
votes
1
answer
72
views
Implementing GitVersion in Azure Pipelines for GitHub Flow
I am trying to us GitVersion in Azure Pipelines to help with auto-versioning our builds/commits. My flow is very similar to what is shown in this Feature Branch diagram. My release branch is called ...
0
votes
2
answers
58
views
Can I Use Deployment Pools in Yaml?
We just recently converted our Azure box to the latest version. As such, we've been going through our projects and hooking the pipelines back up (since our server changed as well). While we're doing ...
0
votes
1
answer
65
views
Azure Pipeline stage being skipped due to previous stages when condition allows for it
I am trying to allow the skipping of intermediate stages while still allowing an initial and final stage to run. For example, in this picture:
I want the deploy-dev to be run when tests & scans ...
0
votes
1
answer
69
views
How to set a release name based on build run name / variable when releasing from an Azure DevOps YAML pipeline?
We are trying to migrate our deployment from Classic to YAML based pipelines.
It seems to work fine so far, but I cannot figure out how to set the release name (the one listed in the "Status"...
-1
votes
1
answer
83
views
How to deploy a Python Azure Function app from a mono-repo?
Following on from this question, I've got a mono-repo containing a Flask API and the first of what will be several Azure Function apps. I'm trying to deploy the app to Azure from an Azure DevOps ...
0
votes
3
answers
73
views
YML How to specify python 3.10
I want to start matrix testing for my code. I try running unit test using the yml below on Azure Devops pipelines.
When I run it, it shortens "3.10" to "3.1". How do I avoid that?
...
0
votes
1
answer
61
views
Azure CI Pipeline Not Preparing Minified Files using BundlerMinifier into Artifact
Utilizing Azure CI Pipelines to help build and prepare my artifact for deployment, the minified files seem to be excluded from the prepared artifact.
Looking at the build logs I can see the files get ...
0
votes
1
answer
64
views
Child module CCReport43F6D5EF not found when using azure pipelines task Maven@4
We are migrating to from Maven@3 task to Maven@4 see here. This works fine for most repositories, except for the multi model repository. This give me then the following error:
[ERROR] [ERROR] Some ...