Home > database >  Azure Devops Pipelines - Add multiple/batch variables
Azure Devops Pipelines - Add multiple/batch variables

Time:12-27

I'm using the below azure-pipeline.yml file to build docker image, push to Azure docker registry & restart the Azure docker app servicer.

This yaml file uses variable set in azure pipeline, screenshot attached.

My issue is, I need to create 2-3 pipelines every-week for different projects I need to add every variable manually for each project and copy paste from my config. Is there a way I can import a .env file or add multiple variables all at once while creating the pipeline.

Objectively I need to cut down the single variable copy paste time & avoid errors that might occurr

enter image description here

CodePudding user response:

1.You could use enter image description here

2.You could use enter image description here

  • Related