Questions tagged [azure-pipelines-yaml]

Azure Pipelines automatically builds and tests code projects to make them available to others. It works with just about any language or project type. Azure Pipelines combines continuous integration (CI) and continuous delivery (CD) to test and build your code and ship it to any target. YAML (or YML) is the language used to construct pipeline objects.

1379 questions
-1
votes
1 answer

How can I solve indentation problem in Azure yaml pipeline?

How can I solve indentation problem in stages? /devops/azure-pipelines.yml (Line: 6, Col: 16): A sequence was not expected. Line 6 means "webJobNames: ['A', 'B', 'C', 'D', 'E', 'F']" here. What is the issue? trigger: - main variables: …
Penguen
  • 16,836
  • 42
  • 130
  • 205
-1
votes
1 answer

Azure Pipelines load test

500/javax.script.ScriptException: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for presence of element located by: By.id: i0116 (tried for 8 second(s) with 500 milliseconds interval) can anyone guide me the step by step…
-1
votes
1 answer

Azure DevOps Pipeline Pull Remote Server Changes

My Self Hosted Build Server E drive has some source files which which needs syncing with azure repos. I am managed to update the remote servers with Git Pull command however i am not able to push changes to azure repos from build server source…
Jav
  • 31
  • 1
  • 4
-1
votes
1 answer
-1
votes
1 answer

How to set up pipeline in Azure Devops for robot framework?

I have automated testcases in robot framework and I want to run it in Azure Devops. I followed a solution online where I have created a pipeline using the following yaml . There are multiple folders in the source Azure repo that I am using and my…
-1
votes
1 answer

Yaml Pipeline - Loop over dynamic variable and repeat task

I have a UI pipeline variable (called 'HTML_Files') that passes in a string of filenames i.e. login.html password.html In my pipeline i want to loop over and repeat a task based on the number of filenames passed in (in this case 2) My yaml looks…
Paul
  • 219
  • 1
  • 3
  • 11
-1
votes
1 answer

Cancelled Builds from Azure DevOps show up as failed

I have been looking at using azure devops invoke in our organisation and you guys have a fantastic functionality! I have one rather significant issue, however. Cancelled builds seem to show up as failed. This makes my pipeline red most of the time…
-1
votes
1 answer

Why i am get error when I trigger my build pipeline No agent found in pool Default which satisfies the specified demands?

I am working in Azure DevOps CICD pipeline. I have created an agent in Default Pool which is a Self-Hosted Agent. My Agent Details: Agent.Name: Deployment-Agent Agent.Version: 2.210.1 Below is my yaml file: trigger: none variables: - name:…
-1
votes
1 answer

PyCharm does not highlight yaml syntax

Seems that there is a problem with Pycharm (2021.3.3 Community Edition) with yaml files. It cannot recognize yaml files if they have a '-' in the file name. So PyCharm does not highlight keywords and syntax in files like 'configuration-file.yml',…
walzer91
  • 509
  • 1
  • 8
  • 22
-1
votes
1 answer

YAML loop in Azure pipelines i want to assign concatinated values

HI Azure pipeline i am getting struck and having error while doing this parameters: - name: applications_module displayName: Applications type: boolean default: 'false' values: [] - name: management_module displayName:…
ksk
  • 165
  • 14
-1
votes
1 answer

Access to private feed from Azure Devops pipeline

I want to create access to my private feed from pipeline (Project A), but everytime when i try run dotnet restore to restore .net project with nugets from private feed (project scoped feed in Project B) i got error NU1301: Unable to load the service…
-1
votes
2 answers

Is it possible to reference ADO variables set by "##vso[task.setvariable" in a template file and retreive the output in later tasks / jobs / stages?

I've attached a picture to this question and using this space to describe the steps highlighted. I have a main pipeline file that I run. I reference a template file, which executes as expected. Here is the template file. Here, I am setting the…
-1
votes
3 answers

Azure Pipeline won't recognize variable in dotnet cli task

I have these variables for my pipeline: variables: webProject: 'Company.Web' dbProject: 'Company.Database' And then later, I use those variables in a dotnet cli task: # stage/job setup - task: DotNetCoreCLI@2 displayName: Clean inputs: …
zep426
  • 179
  • 9
-1
votes
1 answer

Azure Pipeline - Self Hosted Agent YAML how to copy release files to my Azure VM

I have an Azure Pipeline using a Pool of a Self Hosted Agent and I have the following YAML that is working great: # .NET Desktop # Build and run tests for .NET Desktop or Windows classic desktop solutions. # Add steps that publish symbols, save…
VAAA
  • 14,531
  • 28
  • 130
  • 253
-1
votes
1 answer

##[error]undefined: ValueType 'System.Boolean' cannot be null. (ARM Template deployment with DevOps)

Description I received this strange error while deploying an Azure Function using ARM Templates. I was able to isolate that specific resource as the origin of the failure. I was unable to find information about this error in the Microsoft doc. D o…
1 2 3
91
92