About 99,400 results
Open links in new tab
  1. Howto: Insert a template conditionally in Azure DevOps YAML?

    Feb 23, 2020 · Here's how I'm trying to accomplish inserting a template conditionally. Per requirement, I would like to either call fresh-deploy.yml or update.yml based on a pipeline …

  2. Conditionally execute a template in Azure DevOps Pipeline

    Nov 15, 2023 · Conditionally execute a template in Azure DevOps Pipeline Asked 1 year, 11 months ago Modified 1 year, 11 months ago Viewed 17k times

  3. Use variables in Azure DevOps Pipeline templates

    Sep 16, 2020 · We have a collection of Azure DevOps pipeline templates that we re-use across multiple repositories. Therefore we wanted to have a file that contains variables for all of our …

  4. azure pipelines - How to pass a variable into a YAML template …

    Feb 15, 2025 · If you are passing a variable into a template parameter with the intention of using it as part of another runtime expression, the easiest method is to copy the parameter to a …

  5. Azure Pipelines: Passing a variable as a parameter to a template ...

    Jan 18, 2019 · azure-pipelines.yml - stage: QA variables: Environment: QA jobs: - template: templates/deploy-appservice.yml parameters: environment: ${{ variables.environment }} # use …

  6. How to use a variable group in a Azure Pipelines yml template?

    Apr 11, 2022 · However, whenever I include a variables section into my template code, Azure DevOps immediately complains about it when parsing the yml, before running the pipeline.

  7. Can I create a project template in Azure DevOps

    Sep 6, 2019 · My company creates a lot of projects in Azure DevOps, and they all have the same structure -- same members, same permissions. Each project has different Git repositories …

  8. Conditional execution of template defined inside 'steps' in Azure ...

    Jul 18, 2023 · This query is regarding Azure DevOps YAML pipeline. Is it possible to put an execution condition on any template defined inside 'steps'? For ex: Based on any pipeline …

  9. Azure DevOps template as a dependency for a job

    Jan 27, 2020 · Building on Eric Smith's answer you can pass in the name of the job that the template will depend on as a parameter. #template1.yml jobs: - job: mytemplateJob1 steps: - …

  10. How to use template with references to script in another …

    Nov 5, 2020 · I'm trying to use a template that's stored in another Git repository in Azure DevOps where that template has a reference to a script also contained within that repository. While I …