rtyler / otto

Otto is your friendly continuous delivery companion.
GNU Affero General Public License v3.0
80 stars 5 forks source link

Parser not pulling keyword args out for steps properly #44

Closed rtyler closed 3 years ago

rtyler commented 3 years ago
pipeline {
  steps {
    git url: 'https://git', branch: 'main'
  }
}

Is resulting in a Pipeline structure:

Pipeline { uuid: e11c68fa-4f18-4ce2-8fde-c344a34be8cd, batches: [Batch { mode: Linear, contexts: [Context { uuid: 1ed2c805-9a1c-4211-b129-5ac1022bdca6, properties: {}, environment: None, steps: [Step { uuid: 2150727e-d7fd-4c97-bf39-2f91f7e0c0d2, context: e11c68fa-4f18-4ce2-8fde-c344a34be8cd, symbol: "git", parameters: Positional([String("main")]) }] }] }] }