runner.server icon indicating copy to clipboard operation
runner.server copied to clipboard

azp: Too weak job continueOnError validation

Open ChristopherHX opened this issue 1 year ago • 2 comments

/azure-pipeline.yml (Line: 7, Col: 22): Expected a Boolean value. Actual value: '$'

parameters: []
stages:
- stage:
  jobs:
  - job:
    dependsOn: ""
    continueOnError: $
    steps:
    - script: echo 0

While $[ ... ] are more strict

ChristopherHX avatar May 07 '24 11:05 ChristopherHX

This extension validates global names while the online validator only checks the syntax inside $[ ... ]

ChristopherHX avatar May 07 '24 11:05 ChristopherHX

in typed parameters this passes in official azure pipelines, only once used like that it is an error

ChristopherHX avatar May 25 '24 12:05 ChristopherHX