Skip to content

azure devops windows pipeline passing variables from steps to templates #27

@SindhuriMarapureddy

Description

@SindhuriMarapureddy

Hi,

I need to pass the variables into templates.for example.ouput of small should be passed as input to medium.how is this possible?

template: windows-tests.yml
parameters:
integration_tests: ["Small", "Medium"]
check_status: "$(Powershell1.var)"

o/p from build step with be stored in checkstatus variable and will be passed to template.

Powershell1.var will be used by small test and then generated a value which needs to be used by medium.

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