Configure CICD/pipeline
Configure Pipeline template​
- Go to List of pipeline code templates page, select button ADD to create new pipeline template
- On Pipeline template, input the Template name, description and Cord Type ( Jenkinsfile, Tekton) where as:
- Jenkinsfile is written in Groovy format
Add file name then click on button New file to add the detail of the Jenkinsfile:
Multiple file can be added by clicking on button Add file.
The current file can be removed by clicking on button Delete file
- Tekton is written in Yaml
Proceed the same actions to create new Tekton file(s):
Depending on several factors like the the context of the application, the organization's infrastructure, and the preferred CI/CD practices that Jenkins or Tekton pipeline is used:
Use Jenkins when:
- needing a widely used, flexible CI/CD tool with lots of plugin support.
- having an existing Jenkins infrastructure and want to integrate an application into it.
- requiring a more traditional, standalone CI/CD system.
- needing customization and fine-grained control over your CI/CD pipelines.
Use Tekton when:
- working with Kubernetes and want a cloud-native, Kubernetes-centric CI/CD pipeline.
- needing a declarative approach to pipelines using YAML that aligns with Kubernetes best practices.
- scaling your pipelines dynamically and want a more containerized way of handling CI/CD.
- aiming for a cloud-agnostic, flexible CI/CD tool that fits in a GitOps or Kubernetes-first environment.
- To complete the new pipeline creation, click on button Store.
The new pipeline template will be displayed at the end of the pipeline template list: