/slackNotify

Jenkins pipeline libriary to extend Slack notifications

Primary LanguageGroovyMIT LicenseMIT

slackNotify

Jenkins pipeline library to extend Slack notifications

notification

Usage:

SetUp shared lib:

setup

Jenkinsfile:

  @Library('slack')_
  pipeline {
    agent {
      any
    }
  }
  ... Some pipeline stages ...
  post {
   always {
     notifySlack(currentBuild.currentResult, '#jenkins')
  }