In current version (v2.1.x), the built-in Jenkins cannot share the same email configuration with platform notification system. Thus we need to set email server for KubeSphere DevOps pipeline separately.
Note: Please be aware that the modification of the email server in
ks-jenkins
deployment below will restart the deployment itself. Consequently, the DevOps system will be unavailable for a few minutes. Please make such modification at an appropriate time.
admin
account, navigate to System-workspace → Projects → kubesphere-devops-system.Environment variable name | Description |
---|---|
EMAIL_SMTP_HOST | SMTP server address |
EMAIL_SMTP_PORT | SMTP server port (e.g. 25) |
EMAIL_FROM_ADDR | Email sender address |
EMAIL_FROM_NAME | Email sender name |
EMAIL_FROM_PASS | Email sender password |
EMAIL_USE_SSL | whether to open SSL configuration |