Cannot modify slacknotifier plugin configuration
See original GitHub issueHi, I’m still not sure how to configure slack plugin.
Any idea ?
unclassified:
slacknotifier:
teamDomain: "https://****.slack.com/services/hooks/jenkins-ci/"
authTokenCredentialId: "slack_authtoken"
baseUrl: "***"
I could add a working example on the repo.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
jenkinsci/configuration-as-code-plugin - Gitter
Hi All. Is there any working example of how configure slack notification using Jcasc plugin ... SlackNotifier$DescriptorImpl : teamDomain,tokenCredentialId.
Read more >How to configure jenkins slack plugin? - Stack Overflow
When I change the slack configuration and hit the test button, it doesn't take the current configuration, instead, it takes the previously ...
Read more >Slack Notification - Jenkins Plugins
Integrates Jenkins with Slack, allows publishing build statuses, messages and files to Slack channels.
Read more >Using CASC to set up Slack messaging in Jenkins - Gravitywell
Configure Slack Plugin. If you're not using CDK, this section might be a bit different for ...
Read more >Slack notifications in Jenkins - Virtualizatio'n'automation
You need to install Slack plugin, create an Incoming Webhook in your Slack's workspace, and then configure the Slack plugin.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
just a note for those like me finding this closed issue, the slack-plugin now has the CasC compatibility: https://github.com/jenkinsci/slack-plugin/pull/404
but is not released yet, which can be tracked in this PR: https://github.com/jenkinsci/slack-plugin/pull/406
For anyone else who might run into this issue and wonder what is going on, I have discovered a conflict with the build-notifications plugin which is NOT compatible with CasC currently, where CasC will attempt to create an object of a class of the same name as the official slack plugin but with a different classpath.
Hopefully this helps someone running into this in the future and seeing a closed and released PR.