This extension allows executing Azure DevOps pipelines from another pipeline and waiting for the executed pipeline to finish. It also allows choosing whether to consume the RUN or QUEUE API.
Usage and Inputs
Search for the task called "Exec Pipeline" and the inputs are as follows:
Use Service Connection (required): Indicates if a service connection will be used to consume the Azure DevOps API. If not, the pipeline execution token will be used.
Azure Devops Path (optional): If you selected the option to use a service connection, you must select the service connection to be used. Otherwise, this field will not be displayed.
Branch (required): The branch with which the pipeline will be executed.
Pipeline Id (required): The ID of the pipeline to be executed.
Execution Type (required): The type of execution to be performed. If "Run" is selected, the pipeline will run immediately. If "Queue" is selected, the pipeline will be queued. Both options execute the pipeline, but "Queue" allows changing the Run Reason.
Run Reason (optional/required only in queue): The reason for executing the pipeline. This is only used if the "Execution Type" is "Queue".
Extra Data is Parameter (optional): Indicates if additional information will be sent to the pipeline to be executed. If "true" (selected), it will be sent as a parameter; if "false", it will be sent as a variable.
Parameters or Variables (optional): Additional information to be sent to the pipeline to be executed. It is sent in JSON format, for example: {"key1": "value1", "key2": "value2"}.
Just execute (optional): Indicates if you will wait for the executed pipeline to finish. If "true" (selected), it will wait; if "false", it will not wait.