简体   繁体   中英

Jenkins & email-ext questions

I've been looking into using the email-ext plugin for our Jenkins/DotCi setup, however i can't seem to find any resource on which where we should be storing our templates for the email?

I can modify the templates listed "/src/main/resources/hudson/plugins/emailext/templates" to contain the information i want to have sent.

Does the email template live in the root similar to the .ci.yml file?

您可以在“管理Jenkins”->“配置系统”下找到“扩展电子邮件通知”。在此,您可以找到此插件的所有配置设置-包括“默认内容”

The templates go into JENKINS_HOME\\email-templates

To check that it is configured right, go to a project that you have run at least once and click on 'Email Template Testing' in the sidebar. Type in the full name of your template file.

If the file can't be found you will get an error in red beneath the input box. Otherwise you are good to go.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM