简体   繁体   English

在 Jenkins 的配置部分安装“Slack Notification Plugin”后,“Global Slack Notifier Setting”部分未显示

[英]Section 'Global Slack Notifier Setting' not showing after installing "Slack Notification Plugin" in my configure section of Jenkins

My Jenkins Version is 2.190.1我的 Jenkins 版本是 2.190.1

I need to ask regarding the implementation of slack notifications in jenkins, although i have gone through many of the tutorials, but the problem is i have installed the plugin successfully when i go to configure Jenkins, Section of "Global Slack Notifier Setting" is missing although slack notification dropdown is shown in post-build section of the Job but not in configure where we used to add these two information我需要询问有关 jenkins 中松弛通知的实现,虽然我已经阅读了很多教程,但问题是我在 go 配置 Z2E54334C0A5CE2E3E3E5A5845DF3 时已成功安装插件虽然 slack 通知下拉列表显示在 Job 的 post-build 部分,但没有显示在我们用来添加这两个信息的配置中

**Team Subdomain & Integration Token ** **团队子域和集成令牌**

i am only just able to see this section in Jenkins->Configure section我只能在 Jenkins->Configure 部分看到这个部分

在此处输入图像描述

Thanks谢谢

Now it is shown as Slack and we need to add slack credentials in credentials page.现在它显示为 Slack,我们需要在凭证页面中添加 slack 凭证。 And then import them in here然后在这里导入它们这里

This was happening to me.这发生在我身上。 I figured out that you dont need to add ".slack.com" after your workspace.我发现您不需要在工作区之后添加“.slack.com”。 so DONT DO "workspaceexample.slack.com" DO "workspaceexample".所以不要做“workspaceexample.slack.com”做“workspaceexample”。 This worked for me.这对我有用。

The solution proposed by @giturr14 is correct. @giturr14 提出的解决方案是正确的。 For the sake of completeness, I want to add that,为了完整起见,我想补充一点,

  • The team sub-domain must be entered under "workspace"团队子域必须在“工作区”下输入
  • The integration token must be entered via credential->Add, then select "secret text" and enter the token under secrets, give id and description.集成令牌必须通过 credential->Add 输入,然后 select "secret text" 并在 secrets 下输入令牌,提供 id 和描述。

Then select your secret and press "test connection".然后 select 你的秘密,然后按“测试连接”。

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

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