Selective pipeline stage execution by using triggers
Execute specific stages of a pipeline using webhook triggers
You can set webhook triggers to run specific pipeline stages using the Allow selective stage(s) executions? option.
Requirements
Make sure that you have met the following requirements:
You have a Harness pipeline with a CD stage.
You have set the service and infrastructure as runtime inputs so that you can provide the value in Trigger> Configuration tab.
Execute a specific pipeline stage using triggers
Select a pipeline whose stage you want to execute using triggers.
Make sure that the Selective Execution Settings> Allow selective stage(s) executions? in Advanced Options of the pipeline is set to Yes.

When you create a trigger, in the Configuration tab, select the stages you want to execute.

Here is a sample trigger YAML:
Last updated
Was this helpful?