JenkinsTask
Call Jenkins tasks.
Notes and Constraints
Currently, this function is available in LA-Mexico City2, LA-Sao Paulo1, and AP-Singapore.
Adding the Extension with GUI
Add the JenkinsTask extension when you orchestrate a pipeline. Set parameters as shown in Table 1.
Parameter |
Description |
---|---|
Name |
Extension name, which can be customized.
|
Jenkins Endpoint |
Create a Jenkins service endpoint by referring to Jenkins. |
jobName |
Jenkins job name. |
params |
Parameters (in JSON format) transferred for starting the job. |
Asynchronous |
Whether to execute the job asynchronously. |
Description |
Description for connecting to the endpoint. |
Adding the Extension with YAML
Add the JenkinsTask extension when you orchestrate a pipeline. Configure the YAML syntax as follows:
- JenkinsTask
uses: Jenkins with: endpoint: eac965b206e74e2b898a24a4375b6df6 jobName: job params: '{ \"key\":\"value\" }' async: true|false description: description
- endpoint: ID of the Jenkins endpoint.
- jobName: Jenkins job name.
- params: Parameters (in JSON format) transferred for starting the job.
- async: Whether to execute the job asynchronously.
- description: Execution description.
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