sharpliner / sharpliner

Use C# instead of YAML to define your Azure DevOps pipelines
https://www.nuget.org/packages/Sharpliner/
MIT License
285 stars 21 forks source link

Unable to add a Pool in the root of the pipeline #224

Closed thomhurst closed 1 year ago

thomhurst commented 1 year ago

In my existing pipelines, I have a pool in the root of the yaml like this:

trigger:
  batch: true
  branches:
    include:
    - develop

pool:
  name: 'my-hosted-ubuntu'

variables:
- template: variables/vars.yml

I can't see anyway of doing this currently, since this are the only things I can set: image

premun commented 1 year ago

Thanks for logging this, fix is here - https://github.com/sharpliner/sharpliner/pull/226 I will publish a new version shortly.

premun commented 1 year ago

This fix will be in a version 1.3.7 in about 15 minutes