Questions tagged [azure-yaml-pipelines]

146 questions
0
votes
1 answer

Inherting YAML templates on conditional basis

I have a Yaml template for DEV,ACC,PRD for Azure Data Factory. I also have one for a Web App. I would want an extra option to deploy these together in one Yaml through inheritance(or re-use). So that I can deploy them individually or in group. Is it…
Blue Clouds
  • 7,295
  • 4
  • 71
  • 112
0
votes
1 answer

Azure DevOps - Build and Deploy simple PHP Web App

I am trying to build and deploy a simple php app with index.php file using CI/CD and following this link. Below is the yaml file that has been configured and the build pipeline is executed successfully. # PHP # Test and package your PHP project. #…
Slimshadddyyy
  • 4,085
  • 5
  • 59
  • 121
0
votes
1 answer

Starting a build number from a specific number

I just migrated some builds from bamboo over to azure devops and I need to get the build numbers in ado to start from a specific number, for example last build in bamboo was 50, I need the first build in ado to be 51. How can I accomplish this via…
Redline1111
  • 131
  • 2
  • 11
0
votes
1 answer

Azure DevOps copy additional files to published artifacts - Not reflecting

I have a publish build artifact step and then a copy step to place my UI compiled contents into the generated folder. Although the copy step succeeds and I can see in the logs that it copied my required content to the specified folder inside drop,…
0
votes
1 answer

AzureFileCopy task failing in YAML pipeline - works in Release pipeline

I am trying to convert a release pipeline into a multi-stage YAML pipeline and I am running into an issue with the AzureFileCopy@4 task. When I run the task in a release pipeline, the task succeeds and files are copied to the remote VM. When I run…
Joe Brinkman
  • 1,842
  • 2
  • 16
  • 20
0
votes
3 answers

Use a YAML template as a task/step/job/stage in classic pipelines

I have a number of existing build and release pipelines defined using the classic interface, but I'm switching over to using the newer YAML pipelines and templates. Converting the existing classic pipelines to YAML pipelines would be too much work,…
slikts
  • 8,020
  • 1
  • 27
  • 47
0
votes
1 answer

Solution not found using search pattern 'D:\a\1\s\**\*.sln' Azure Devops

I am getting this error of Solution not found using search pattern 'D:\a\1\s***.sln' while building and deploying dacpac via yaml file. My yaml file is below. trigger: - master pool: name: Azure Pipelines vmImage: 'vs2017-win2016' jobs: -…
0
votes
1 answer

VSTS pipeline step PublishPipelineArtifact fails on manifest deployment task

VSTS has created a yaml pipeline automatically for me. It fails at step PublishPipelineArtifact. I'm not familiar with the yaml syntax. Below is an extract of the auto generated yaml. 2 steps talk about manifests. However my visual studio project…
CloudAnywhere
  • 669
  • 1
  • 11
  • 27
0
votes
1 answer

Dockerize sample dotnet core exe application to kubernetes in linux pod

I'm trying to create a dotnet core application and deploy it to a kubernetes cluster through azure yaml pipelines (with multiple repositories) I'm hitting the following error: CSC : error CS5001: Program does not contain a static 'Main' method…
0
votes
1 answer

In Azure DevOps with a Multi Stage Pipeline, how do a manually deploy to an environment?

I currently have a separate Pipeline for a Build and Deployments. The SysTest deployment is triggered automatically. I manually deploy to QA, which I like (See below). I am trying to upgrade this process to a Multi Stage Pipeline. However, I can't…
0
votes
1 answer

ADO pipelines - how to evaluate the value of a variable group at runtime

I have a variable group that I want to be run an expression in. That is I want to have the variable group's variable contents be computed at runtime. Variables_General has a variable called isMain with the content…
0
votes
1 answer

Azure DevOps yaml-pipeline deployment: "Provider phase is not supported"

Azure DevOps yaml-pipeline with deployment job fails with error Provider phase is not supported. What am I doing wrong? Azure DevOps Server Version Dev17.M153.5. trigger: - master jobs: - deployment: ExperimentalDeploy displayName: Deploy my app …
SerG
  • 1,251
  • 4
  • 18
  • 37
0
votes
1 answer

Azure YAML pipeline: find variable in group dynamically

I have a Powershell script that is executed in my YAML pipeline during the release stage. I can reference group variables using $(myVar). However now I have a need to reference a variable dynamically given its name. For instance, if I have the…
Sam
  • 13,934
  • 26
  • 108
  • 194
0
votes
1 answer

Azure pipeline runs forever if not using approval timeout

I have recently moved from Classic release to YAML release pipeline. With Classic release I would simply trigger manually the deployment I was interested in (Dev, Integration, UAT or Production). However with YAML pipeline I use stages and they are…
Sam
  • 13,934
  • 26
  • 108
  • 194
0
votes
1 answer

Inline yaml pipeline scripts work separately, but not together

The following two inline yaml-pipeline powershell scripts: - pwsh: (get-content -path $(versionHeader)) | foreach-object {$_ -replace "2.0.0.0", '$(major).$(minor).$(patch).0'} | set-content -path $(versionHeader) displayName: 'Update build number…
Joe
  • 5,394
  • 3
  • 23
  • 54
1 2 3
9
10