


There's two ways to authenticate with slack using this plugin. your-company (just the workspace name not the full url) tokenCredentialId: slack-tokenįor more details see the configuration as code plugin documentation: Bot user mode Scope: GLOBAL id: slack-token secret: '$ ' description: Slack token unclassified: This plugin supports configuration as code Add to your yaml file: See User Id Look Up for pipeline steps to help with user id look up. Use the syntax in a message to mention users directly. Mentioning users by display name may work, but it is not unique and will not work if it is an ambiguous match. In order to notify an individual user, use the syntax in place of the project channel. You can send messages to channels or you can notify individual users via their slackbot. Select that credential as the value for the Credential field: It is a security risk to expose your integration token using the previous Integration Token setting. Use Jenkins Credentials and a credential ID to configure the Slack integration token.
