简体   繁体   English

Jenkins:无法使用Global Slack Notifier插件2.18发送松弛通知

[英]Jenkins : Not able to send slack notifications using Global Slack Notifier plugin 2.18

I had Global Slack Notifier version 2.x earlier and it was working fine. 我之前有Global Slack Notifier版本2.x,并且工作正常。 I migrated to Global Slack Notifier 2.18 plugin and it stopped working. 我迁移到Global Slack Notifier 2.18插件,但它停止工作。 Now, there is NO text-box to enter integration token. 现在,没有用于输入集成令牌的文本框。 Also I have generated the Slack compatible app URL like (edited tokens) 我还生成了与Slack兼容的应用程序URL,例如(已编辑的令牌)

https://hooks.slack.com/services/T6sHRwFeQCH2/BGrKfU7t9K5F/dqPlggttrrffbbgexWClfdVCyG But it's also not working https://hooks.slack.com/services/T6sHRwFeQCH2/BGrKfU7t9K5F/dqPlggttrrffbbgexWClfdVCyG但它也不起作用

Can anyone please correct me if I am missing anything. 如果我缺少任何东西,谁能请纠正我。

Also in /usr/logs/jenkins/jenkins.log file, shows following logs 同样在/usr/logs/jenkins/jenkins.log文件中,显示以下日志

Mar 01, 2019 5:20:40 PM jenkins.plugins.slack.StandardSlackService publish
WARNING: Response Code: 404
Mar 01, 2019 5:20:50 PM jenkins.plugins.slack.StandardSlackService publish
WARNING: Slack post may have failed. Response: null
Mar 01, 2019 5:20:50 PM jenkins.plugins.slack.StandardSlackService publish
WARNING: Response Code: 404

In Slack install Jenkins CI app, click Add Configuration and follow setup instruction. 在Slack安装Jenkins CI应用程序中,单击添加配置,然后按照安装说明进行操作。

在此处输入图片说明

In Jenkins configuration: 在Jenkins配置中: 在此处输入图片说明

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

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