Merge pull request #1705 from Felixnoo/update-email-for-pipelines
Update Doc: Set the Email Server for KubeSphere Pipelines
|
|
@ -12,19 +12,17 @@ The built-in Jenkins cannot share the same email configuration with the platform
|
|||
## Prerequisites
|
||||
|
||||
- You need to enable the [KubeSphere DevOps System](../../../pluggable-components/devops/).
|
||||
- You need an account granted a role including the authorization of **Cluster Management**. For example, you can log in to the console as `admin` directly or create a new role with the authorization and assign it to an account.
|
||||
- You need an account granted a role including the permission of **Cluster Management**. For example, you can log in to the console as `admin` directly or create a new role with the permission and assign it to an account.
|
||||
|
||||
## Set the Email Server
|
||||
|
||||
1. Click **Platform** in the top-left corner and select **Cluster Management**.
|
||||
|
||||

|
||||
|
||||
2. If you have enabled the [multi-cluster feature](../../../multicluster-management/) with member clusters imported, you can select a specific cluster to view its nodes. If you have not enabled the feature, refer to the next step directly.
|
||||
|
||||
3. Go to **Workloads** under **Application Workloads**, and choose the project **kubesphere-devops-system** from the drop-down list. Click the three dots on the right of **ks-jenkins** to edit its YAML.
|
||||
3. Go to **Workloads** under **Application Workloads**, and choose the project **kubesphere-devops-system** from the drop-down list. Click <img src="/images/docs/devops-user-guide/using-devops/jenkins-email/three-dots.png" height="15px"> on the right of **ks-jenkins** to edit its YAML.
|
||||
|
||||

|
||||

|
||||
|
||||
4. Scroll down to the fields in the image below which you need to specify. Click **Update** when you finish to save changes.
|
||||
|
||||
|
|
|
|||
|
|
@ -12,19 +12,17 @@ Weight: 11260
|
|||
## 准备工作
|
||||
|
||||
- 您需要启用 [KubeSphere DevOps 系统](../../../pluggable-components/devops/)。
|
||||
- 您需要一个具有**集群管理**权限的帐户。例如,您可以直接以 `admin` 身份登录控制台或者创建具有该授权的新角色并将该角色分配给一个帐户。
|
||||
- 您需要一个具有**集群管理**权限的帐户。例如,您可以直接以 `admin` 身份登录控制台或者创建具有该权限的新角色并将该角色分配给一个帐户。
|
||||
|
||||
## 设置电子邮件服务器
|
||||
|
||||
1. 点击左上角的**平台管理**,然后选择**集群管理**。
|
||||
|
||||

|
||||
|
||||
2. 如果您已经启用[多集群功能](../../../multicluster-management/)并已导入 Member 集群,那么您可以选择一个特定集群以查看其节点。如果尚未启用该功能,请直接参考下一步。
|
||||
|
||||
3. 转到**应用负载**下的**工作负载**,然后从下拉列表中选择 **kubesphere-devops-system** 项目。点击 **ks-jenkins** 右侧的三个点以编辑其 YAML 配置文件。
|
||||
3. 转到**应用负载**下的**工作负载**,然后从下拉列表中选择 **kubesphere-devops-system** 项目。点击 **ks-jenkins** 右侧的 <img src="/images/docs/zh-cn/devops-user-guide/use-devops/set-email-server-for-kubesphere-pipelines/three-dots.png" height="15px"> 以编辑其 YAML 配置文件。
|
||||
|
||||

|
||||

|
||||
|
||||
4. 向下滚动到下图所示的需要指定的字段。完成修改后,点击**更新**以保存。
|
||||
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 752 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 293 KiB |