Skip to content

TriggerBuild@4 does not support runtime parameters #253

@ChristoWolf

Description

@ChristoWolf

Hi @huserben!

So unless I am doing something wrong, it looks like that your TriggerBuild@4 task does not support runtime parameters when passing buildParameters.
More precisely, when the pipeline-to-be-triggered takes such parameters, and the triggering pipeline attempts to pass arguments to those via the task's buildParameters, but seemingly fails:

Using current Team Project
Team Project: <redacted>
Using current Collection Url
Server URL: <redacted>
Using following Authentication Method: Personal Access Token
Using Personal Access Token
Provided team project was guid.
Context is Build - using Build Environment Variables
Build shall be triggered for same user that triggered current build: <redacted>
Will trigger build with following demands:
<redacted>
Build Queue was specified as string: <redacted>
Found id of queue <redacted>
Will trigger build in following agent queue: <redacted>
Will trigger build with following parameters: <redacted parameters>
Found parameter <redacted>
Found parameter <redacted>
Error during request (1/5)
Error message: Error: Could not queue the build because there were validation errors or warnings.
Will wait 1 seconds before retrying request...
Error during request (2/5)
Error message: Error: Could not queue the build because there were validation errors or warnings.
Will wait 2 seconds before retrying request...
Error during request (3/5)
Error message: Error: Could not queue the build because there were validation errors or warnings.
Will wait 4 seconds before retrying request...
Error during request (4/5)
Error message: Error: Could not queue the build because there were validation errors or warnings.
Will wait 8 seconds before retrying request...
Error during request (5/5)
Error message: Error: Could not queue the build because there were validation errors or warnings.

If using classic queue-time variables instead, everything works as expected, the arguments are passed correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions