-
Improvement
-
Resolution: Done
-
Minor
-
- Jenkins version: 2.152
- Mailer plugin version: 1.22
- JCasC plugin version: 1.3
- OS: Linux
-
-
mailer-1.25
There is no possibility to set mailer credentials "as code". Jenkins Configuration as Code handles smtpHost, smtpPort and useSsl fields, but it doesn't handle useSMTPAuth, smtpAuthUserName and smtpAuthPasswordSecret fields.
Expected result
JCasC plugin should handle useSMTPAuth, smtpAuthUserName and smtpAuthPasswordSecret fields.
Example configuration
unclassified: mailer: adminAddress: admin <admin@dummy.tld> replyToAddress: admin <admin@dummy.tld> charset: UTF-8 smtpHost: smtp.mailgun.org smtpPort: 587 useSsl: false useSMTPAuth: true smtpAuthUserName: XXXXX@XXXXX.mailgun.org smtpAuthPasswordSecret: XXXXX
- links to