Setting a job parameter default to another parameter fails silently

jobs:
  my-job:
    parameters:
      first-param:
        type: string
      second-param:
        type: string
        default: << parameters.first-param >>

expectation:
i would expect the second-param to take on the value of the first-param if not specified.
alternatively, i could expect a syntax error.

actual:
instead, neither of these things happen, and the syntax fails silently.

1 Like