Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 379 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 379 Bytes

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')
  }