azure-pipelines-yaml

How to demand multiple agent machines in Azure devops pipeline pool?

£可爱£侵袭症+ 提交于 2021-02-19 07:32:32
问题 I'm looking if I can specify a list of agents in Agent pool demands? In UI azure pipeline has only two options equals and exists. So, I tried adding two demands but pipeline takes only first demand The same in yaml is as follows, pool: name: AWS Pool demands: - Agent.Name -equals simLin02 - Agent.Name -equals ubuAgent01 I would like to know if there is any logical way of specifying the list of agent machines in yaml like following or any other alternatives where I can pass a list of agent

How to demand multiple agent machines in Azure devops pipeline pool?

走远了吗. 提交于 2021-02-19 07:32:26
问题 I'm looking if I can specify a list of agents in Agent pool demands? In UI azure pipeline has only two options equals and exists. So, I tried adding two demands but pipeline takes only first demand The same in yaml is as follows, pool: name: AWS Pool demands: - Agent.Name -equals simLin02 - Agent.Name -equals ubuAgent01 I would like to know if there is any logical way of specifying the list of agent machines in yaml like following or any other alternatives where I can pass a list of agent

Azure Pipeline - Use variable set in template task as a parameter in another template task

…衆ロ難τιáo~ 提交于 2021-02-04 21:46:20
问题 I have two templates created -- one for getting and setting some configurations such as region names and one for deploying. I'm trying to use the variables set in the configuration template task as parameter inputs to the deploy template. Is there an actual way of doing this? My config template: steps: - task: AzureCLI@2 name: Config displayName: Get Config and Generate Variables inputs: azureSubscription: '$(Subscription)' scriptType: bash scriptLocation: inlineScript inlineScript: |

Using Lerna.js and Azure Devops Pipeline

大兔子大兔子 提交于 2021-01-29 21:37:00
问题 I'm studying about azuredevops pipelines to a new project. I'm totally new about devops. In this project, I want to use lerna.js to manage my monorepo and my packages. Considering that I have those three projects inside my monorepo: Package 1 (1.0.1) Package 2 (1.0.0) Package 3 (1.0.3) And I want to create a new TAG, which will increase the Package 3 to (1.0.4). How can I trigger an Azure Pipeline just to Package 3? There is any guide? I watched one talk about monorepos with lerna.js and I'm

Remove commit message from azure devops pipeline run web page?

心不动则不痛 提交于 2021-01-28 08:03:43
问题 I know how to change the runName (also known as Build.BuildNumber) but as shown here the commit message also shows up (this is the pipeline page in devops) even though it's not part of the name that I set. This behavior is also present when I don't change the name, it just looks like yyyyMMdd.rev <commit message> . I don't want the message there because the BuildNumber that I set describes the pipeline run better, and the commit message could be confusing. Is it possible to remove the commit