Configuring a Pipeline Triggering Policy
This section describes how to configure a pipeline triggering policy so that a pipeline can be started when the configured triggering policy is met.
Prerequisites
The pipeline is not in the Running state. To view the pipeline status, see Viewing Pipeline Details.
Configuring a Pipeline Triggering Policy
- Log in to ServiceStage.
- Choose Continuous Delivery > Pipeline.
- Select a pipeline, choose More > Triggering Policy, and set the parameters by referring to the following table.
Triggering Policy
Mode
Description
Manual
-
Manually start the pipeline.
- Set Type to Manual.
- Click OK.
Scheduled
Single-time
Set the triggering time to trigger a single-time pipeline.
- Set Type to Scheduled.
- Disable Periodic Triggering.
- Set Triggered.
- Click OK.
Periodic
Set the triggering time segment, interval, and period to implement periodic pipeline triggering.
- Set Type to Scheduled.
- Enable Periodic Triggering.
- Set Period, Triggered, Effective Time, and Period.
- Click OK.
Automatic
-
Only pipelines whose build job source is source code support automatic triggering.
Set the code source, corresponding namespace, repository name, and branch. When code is submitted to the corresponding branch of the source code repository, the pipeline is automatically triggered. You can set a maximum of eight trigger sources.
- Set Type to Automatic.
- Select Source Code Repository to push the code to the selected source code repository.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot