Overview
What Is Jenkins?
Jenkins is an open source continuous integration (CI) tool that provides user-friendly GUIs. It originates from Hudson and is used to automate all sorts of tasks related to building, testing, and delivering or deploying software.
Jenkins is written in Java and can run in popular servlet containers such as Tomcat, or run independently. It is usually used together with the version control tools (or SCM tools) and build tools.
Common version control tools include SVN and Git, and build tools include Maven, Ant, and Gradle.
Notes and Constraints
This solution can be deployed only in CCE clusters. It is not supported in DeC.
Deployment Analysis
- Jenkins is deployed in CCE clusters using the container image.
- Jenkins pipelines can be interconnected with SWR by calling the docker build/login/push commands in the pipeline. In addition, the long-term valid docker login command needs to be obtained through SWR, which has been supported.
- Jenkins pipelines can be interconnected with CCE by using Kubernetes add-ons. You can import multiple kubeconfig configuration files to connect to different users and clusters with different permissions in pipelines. Different clusters have different kubeconfig files. Users with different permissions (RBAC) in Kubernetes can be associated with cluster roles through their service account, which generates dedicated kubeconfig files.
- After interconnecting with Kubernetes clusters, you can use YAML files to deploy and upgrade Kubernetes resources (such as Deployments, Services, ingresses, and jobs).
Last Article: Installing, Deploying, and Interconnecting Jenkins with SWR and CCE Clusters
Next Article: Installing and Deploying Jenkins
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.