Merge pull request #1705 from Felixnoo/update-email-for-pipelines

Update Doc: Set the Email Server for KubeSphere Pipelines
This commit is contained in:
KubeSphere CI Bot 2021-06-11 14:39:11 +08:00 committed by GitHub
commit 0fad9d210d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 6 additions and 10 deletions

View File

@ -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**.
![clusters-management](/images/docs/devops-user-guide/using-devops/jenkins-email/clusters-management.jpg)
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.
![workloads-list](/images/docs/devops-user-guide/using-devops/jenkins-email/workloads-list.jpg)
![workloads-list](/images/docs/devops-user-guide/using-devops/jenkins-email/workloads-list.png)
4. Scroll down to the fields in the image below which you need to specify. Click **Update** when you finish to save changes.

View File

@ -12,19 +12,17 @@ Weight: 11260
## 准备工作
- 您需要启用 [KubeSphere DevOps 系统](../../../pluggable-components/devops/)。
- 您需要一个具有**集群管理**权限的帐户。例如,您可以直接以 `admin` 身份登录控制台或者创建具有该权的新角色并将该角色分配给一个帐户。
- 您需要一个具有**集群管理**权限的帐户。例如,您可以直接以 `admin` 身份登录控制台或者创建具有该权的新角色并将该角色分配给一个帐户。
## 设置电子邮件服务器
1. 点击左上角的**平台管理**,然后选择**集群管理**。
![集群管理](/images/docs/zh-cn/devops-user-guide/use-devops/set-email-server-for-kubesphere-pipelines/clusters-management.png)
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 配置文件。
![工作负载列表](/images/docs/zh-cn/devops-user-guide/use-devops/set-email-server-for-kubesphere-pipelines/workloads-list.PNG)
![工作负载列表](/images/docs/zh-cn/devops-user-guide/use-devops/set-email-server-for-kubesphere-pipelines/workloads_list.png)
4. 向下滚动到下图所示的需要指定的字段。完成修改后,点击**更新**以保存。

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 KiB