Relative Content

Tag Archive for azure-devopsazure-pipelines-yaml

YAML template to prevent the use of certain variable group

I’ve created a YAML template to extends from with a fixed stage “Deploy” (can not be modified by users, only pass params) and an optional stage “PreDeploy” that should be entirely provided by template users (if they want to add this stage).

more details on customBatchSizeValue in VsTest task

I have a below VsTest task in my azure pipeline. It runs more than 5 thousand tests. Does someone knows what exactly the ‘customBatchSizeValue’ means ? I know the tests are grouped as batches, each containing 800 test cases and for every batch, it generates a separate trx file and a test run. My question is: do the 800 test cases in every batch run parallelly as well ? How does it changes when tests are UI & non-UI ?

Azure devops Pipeline Error Job Condition

I have a job that runs a matrix, then a cleanup job. If either of these fail or are cancelled, then I need a recovery job to run. I have seen a problem where one of the matrix jobs succeeds but the other agent gets rebooted (agent lost connection). The cleanup runs (always()), but the Error handler doesn’t as the condition is neither failed nor cancelled. What am I doing wrong here?

Azure DevOps YAML template with stage parameter

I am trying to create a YAML template to extend from with a fixed stage “Deploy” (can not be modified by users, only pass params) and an optional stage “PreDeploy” that should be entirely provided by users (if they want to add this stage).