Skip to content

Instantly share code, notes, and snippets.

node {
stage("speak") {
slackSend color: '#BADA55', message: 'Hello, World!', channel: <channel_name>
}
}
Slack Send Pipeline step running, values are - baseUrl: <empty>, teamDomain: <empty>, channel: null, color: #BADA55, botUser: false, tokenCredentialId: <empty>
ERROR: Slack notification failed with exception: java.lang.IllegalArgumentException: the token with the provided ID could not be found and no token was specified
node {
stage("speak") {
slackSend color: '#BADA55', message: 'Hello, World!'
}
}
node {
stage("speak") {
echo "Hello, Word!"
println "Goodbye, Word!"
}
}
node {
stage("speak") {
}
}