简体   繁体   English

Jenkins Email-ext 插件在项目的后期构建选项中不再可见

[英]Jenkins Email-ext plugin is no longer visible in the project's post build options

Does any one have any idea what could have happened to Jenkins Email-ext?有没有人知道 Jenkins Email-ext 会发生什么? We have had this plugin working just fine for over two years and all of sudden our entire configs for this plugin have disappeared from all of our projects.我们已经让这个插件正常工作了两年多,突然之间我们这个插件的整个配置从我们所有的项目中消失了。 We tried to uninstall and re-install the plugin but that didn't make any difference.我们尝试卸载并重新安装插件,但这没有任何区别。

Once you install this plugin there should be a checkbox under "Post-build Actions" section in the projects config page to enable it but this option is not shown any longer here.安装此插件后,项目配置页面中的“构建后操作”部分下应该有一个复选框以启用它,但此处不再显示此选项。 Any idea?任何的想法?

Thanks!谢谢!

This issue was fixed by following the below steps:此问题已通过以下步骤修复:

  1. Uninstall email-ext plugin from Jenkins从 Jenkins 卸载 email-ext 插件
  2. Stop Jenkins services.停止 Jenkins 服务。 (Run > Services.msc) find Jenkins and stop it (Run > Services.msc) 找到 Jenkins 并停止它
  3. Go to Jenkins home (base folder) > Plugins and remove any instances of email-ext plugin (eg C:\\Program Files (x86)\\Jenkins\\plugins)转到 Jenkins 主页(基本文件夹)> 插件并删除所有 email-ext 插件实例(例如 C:\\Program Files (x86)\\Jenkins\\plugins)
  4. Restart Jenkins重启詹金斯
  5. Install email-ext plugin again再次安装 email-ext 插件

And now everything should be working OK again!现在一切都应该可以正常工作了!

if you haven't upgraded your jenkins then the issue might be a different one , just to make sure email configuration section has completely removed from your job , check the config.xml of your jenkins job for the keyword [email-ext].如果你还没有升级你的 jenkins 那么问题可能是另一个问题,只是为了确保电子邮件配置部分已经从你的工作中完全删除,检查你的 jenkins 工作的 config.xml 中的关键字 [email-ext]。

how to check job's config.xml from GUI ?如何从 GUI 检查作业的 config.xml ?

simple click on configure link of your job you will be redirected to something like below只需单击您工作的配置链接,您将被重定向到如下所示的内容

http://yourserver/job/jobname/configure http://yourserver/job/jobname/configure

now change the last part of url [configure to config.xml] resulting in something like below现在更改 url [configure to config.xml] 的最后一部分,结果如下

http://yourserver/job/jobname/config.xml http://yourserver/job/jobname/config.xml

now search for keywords like email and email-ext , if you did not find anything then email-ext plugin is not functioning or its has completely removed the email configuration from your job , if you find an entry , do a uninstall /install and then try a restart of jenkins might resolve your problem , or else you can try the option of reloading configuration from disk.现在搜索关键字,如 email 和 email-ext ,如果你没有找到任何东西,那么 email-ext 插件不起作用或者它已经从你的工作中完全删除了电子邮件配置,如果你找到了一个条目,请卸载/安装然后尝试重新启动 jenkins 可能会解决您的问题,或者您可以尝试从磁盘重新加载配置的选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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