Rate This Document
Findability
Accuracy
Completeness
Readability

Creating a Jenkins Pipeline Task

Creating a Task

Do not perform the operation on the master node.

  1. On the Jenkins home page, click New Item in the navigation tree on the left.
    Figure 1 Creating a task
  2. On the task creation page, enter a task name, select a pipeline option, and click OK to create a task.
    Figure 2 Creating a pipeline task
  3. Go to the newly created pipeline task. Click Configuration in the navigation tree on the left. On the configuration page that is displayed, configure the pipeline script based on the pipeline script example and click Save.
  4. Click Build Now in the navigation tree on the left to execute the task.
    Figure 3 Executing a task
  5. After creation, you can view the task execution status. When the status becomes , the task has been executed successfully. Once the execution is complete, you can view the report.