question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot modify slacknotifier plugin configuration

See original GitHub issue

Hi, 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jeff-knurekcommented, Nov 1, 2018

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

0reactions
nlloydcommented, Mar 2, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found