Skip to content

Instantly share code, notes, and snippets.

@brianantonelli
Last active July 14, 2016 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianantonelli/43c8cbaa56ef2a5c497d1f3f8ce2a901 to your computer and use it in GitHub Desktop.
Save brianantonelli/43c8cbaa56ef2a5c497d1f3f8ce2a901 to your computer and use it in GitHub Desktop.
Jenkins Workflow Shared Library
package com.coxautoinc.workflow.jenkins
String sendToSlack (team, token, channel, message, color) {
slackSend channel: channel, teamDomain: team, token: token, color: color, message: message
return "done"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment