Questions tagged [azure-devops-pipelines]

269 questions
0
votes
1 answer

Append to extending pipeline job names

I'm struggling with extending a base template in Azure DevOps yaml pipelines. It seems even the simplest action is a challenge with no good resources, tools, documentation, and uninformative error messages. I'm using yamllint.com and the AzDO rest…
JDH
  • 2,618
  • 5
  • 38
  • 48
0
votes
1 answer

Azure ARM Template Deployment task is not able to download Templates from Storage Account(Configured via Vnet/subnet)

I am using Linked Template to deploy ARM template in Target env, While deploying I am storing the templates in blob contaier using “Azure File Copy” and generating URL and SAS token for the container. But As my Storage account is configured via…
0
votes
1 answer

Azure DevOps YAML If condition

I am attempting to use the if condition to execute a block of operations but it doesn't seem to be working for me. I'm not entirely sure if I understand the if condition correctly, but this is how I have been using it - or at least a simplified…
Rohit Mitra
  • 162
  • 4
  • 13
0
votes
0 answers

Missing artifacts from triggering build

To set the stage, I have two pipelines created in yaml, call them Build-CI and Release-CD. Release-CD has a pipeline resource dependency on Build-CI so when Build-CI completes, Release-CD is triggered. The problem I am having is specific to build…
0
votes
2 answers

File Transform task works inconsistently

I have an Azure DevOps pipeline that besides other things installs a Windows service. The service uses a config file that contains a connection string and some license key:
David Shochet
  • 5,035
  • 11
  • 57
  • 105
0
votes
1 answer

Azure DevOps YAML: Passing a variable from a variable group to a parameter in a template file throws type error

I am attempting to read a variable from a Variable Group in my YAML file and passing it on to a template file that consumes that value. The template file defines this parameter as a number and the variable group does indeed store this as a…
Rohit Mitra
  • 162
  • 4
  • 13
0
votes
1 answer

Checkout another repository in azure pipelines yml

Well, I have the following code that uses a template file in azure Devops: resources: repositories: - repository: templates type: git name: "Framework Back-end/templates-devops" extends: template:…
Ronaldo Lanhellas
  • 2,975
  • 5
  • 46
  • 92
0
votes
1 answer

How do I get Azure DevOps releases for a particular repository via the DevOps APIs?

I'm working on automating approvals of DevOps releases through another system. The problem is, I need to be able to identify which releases are on pipeline(s) built from a particular repository; I'm fine with having to make multiple API calls to get…
0
votes
2 answers

How can I access the `Build.BuildNumber` Azure variable from the inside of an ASP.NET application?

How can I access the Build.BuildNumber Azure variable from the inside of an ASP.NET application? Is it the same as assembly number and can be retrieved using the (source)? Assembly web = Assembly.Load("App_Code"); AssemblyName webName =…
0
votes
3 answers

using azure devops to build .net core project . I want to control the sdk/runtime used, which location to add my sdk/runtime for agent to pickup?

which location to add my sdk/runtime for agent to pickup and use in pipeline? Looking at…
Sai
  • 598
  • 4
  • 14
0
votes
1 answer

Form or get Azure DevOps URL for Release logs

Using a PowerShell task running as part of this Agent Job, I want to get the URL to link back to the logs (of the same Agent Job). The URL is consistent but I can't find Predefined variables for releaseID or environmentID which are the missing…
Guy Wood
  • 255
  • 4
  • 15
0
votes
1 answer

Release redeploy skipping "Skipped" tasks that should run

I created a classic release pipeline in Azure DevOps that looks like the following (this was just to test and verify I could re-create an issue I was having with another pipeline): Each of the deployment group jobs is configured to "Run this job"…
Jason
  • 1,238
  • 1
  • 15
  • 18
0
votes
1 answer

Variable substitution in pipeline breaks integrity of json file in a blazor webassembly application

I'm using this step in an Azure pipeline, to deploy a Blazor WebAssemby application. I need to set some configuration values in the application, so I used this technique to inject some custom value (variable substitution using 'JSONFiles', I added…
0
votes
1 answer

functional Tests are failing to authenticate using Azure Active Directory on the build pipeline

I have a problem running functionality tests(SpecFlow with Nunit) on the pipeline, all my test requires Azure AD login in order to perfom any functionality, I have more than 40 tests of which all of them are running on my local pc via visual studio,…
0
votes
2 answers