[英]how to configure email notification in jenkins?
i have a local set up of Jenkins in my windows machine. 我在Windows机器中设置了Jenkins的本地设置。 tried adding the e-mail ext plugin but the error as in the attachment is displayed.
尝试添加电子邮件ext插件,但显示附件中的错误。
hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/email-ext/2.44/email-ext.hpi
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1153)
at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1650)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1848)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1624)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://updates.jenkins-ci.org/download/plugins/email-ext/2.44/email-ext.hpi
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
so manually downloaded the .hpi and added it to the plugin's folder still am not able to see the e-mail notification section and the action under post-build action steps. 因此,手动下载.hpi并将其添加到插件的文件夹中仍然无法查看电子邮件通知部分和生成后操作步骤下的操作。
navigated to manage jenkins-> configure system-> email notification section is not displayed 导航到管理詹金斯->配置系统->电子邮件通知部分未显示
please install the dependency plugin & try. 请安装依赖 插件并尝试。 (Matrix-project, config-file-provider, mailer, workflow-step-api, junit, analysis-core, token-macro, workflow-job).
(矩阵项目,配置文件提供程序,邮件程序,工作流步骤API,Junit,分析核心,令牌宏,工作流作业)。
https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin
As it seems you are blocked by the corporate proxy, the best thing would be to find a way to authenticate with the corporate proxy (if you aren't, I am not sure if Jenkins proxy supports NTLM out of the box), or find out how to get access to the Jenkins plugin centre rather than download all the plugins and it's dependencies manually. 似乎您被公司代理所阻止,最好的办法是找到一种通过公司代理进行身份验证的方法(如果不是,我不确定Jenkins代理是否开箱即用地支持NTLM),或者找到了解如何访问Jenkins插件中心,而不是手动下载所有插件及其依赖项。
If you need to authenticate using NTLM, it might be a good idea to either: 如果您需要使用NTLM进行身份验证,则可以采用以下两种方法:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.