Unexpected argument error when calling continuation pipeline

I have defined a parameter in config.yml

parameters:
  production-release:
    type: boolean
    default: false

and I have a workflow that is triggered only when parameter “production-release” is set (triggered via an API call)

The API call body:

    "branch": "release/1.0.0",
    "parameters": {
        "production-release": true
    }

When continuation occurs, the pipeline fails with the error:
Unexpected argument(s): production-release

It seems that parameters from the setup job are forwarded to the continuation.
In the continue_config.yml I don’t have the production-release parameter, if I have tried to put it, I got a “Conflicting pipeline parameters” error

1 Like