To create a continuous integration (CI) pipeline in Automation Pipelines, you can use the continuous integration smart pipeline template. To plan your continuous integration native build, you gather the information for the smart pipeline template before you create the pipeline in this example plan.
When you fill out the smart pipeline template, it creates a continuous integration pipeline in your repository, and performs the actions so that the pipeline can run. After your pipeline runs, you can monitor trends across the pipeline executions.
To plan your build before you use the continuous integration smart pipeline template:
- Identify a project that will group all your work, including your pipeline, endpoints, and dashboards.
- Gather the information for your build as described in the continuous delivery portion of Planning a CICD native build in Automation Pipelines before using the smart pipeline template.
For example, add a Kubernetes endpoint where Automation Pipelines will deploy the container.
Then, you create a pipeline by using the continuous integration smart pipeline template.
In Pipelines, you select Smart Templates.
You select the continuous integration smart pipeline template.
To save the pipeline with the stages that it creates, you fill out the template, and enter a name for the pipeline. To save the pipeline with the stages that it creates, click Create.
The Automation Pipelines pipeline workspace supports Docker and Kubernetes for continuous integration tasks and custom tasks.
For information about configuring the workspace, see Configuring the Pipeline Workspace.
- Verify that your pipeline succeeded. Click Executions, and search for your pipeline. If it failed, correct any errors and run it again.
- Verify that the Git webhook is operating correctly. The Git Activity tab displays the events. Click .
- Look at the pipeline dashboard and examine the trends. Click Dashboards, and search for your pipeline dashboard. To report on more key performance indicators, you can create a custom dashboard.
For a detailed example, see How do I continuously integrate code from my GitHub or GitLab repository into my pipeline in Automation Pipelines.