diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2019-07-13 00:08:26 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2019-07-13 00:08:26 +0300 |
| commit | 7aa451407c098dd075fe5cf954e10e1761a6210e (patch) | |
| tree | d589c2ba85c483f6e88880053f8a59eb40342d12 | |
| parent | Jenkinsfile: Add 'fetch' stage. (diff) | |
| download | jenkins-master.tar.gz | |
* Jenkinsfile: Notify with Slack.
| -rw-r--r-- | Jenkinsfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 6e328cd..98b3cf9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,5 @@ +@Library('jenkins-wi-shared-library') _ + pipeline { agent { label 'guixsd' @@ -6,6 +8,7 @@ pipeline { stage('fetch') { steps { dir('/home/oleg/src/guix') { + sendNotifications 'STARTED' sh 'git fetch origin' } } @@ -46,4 +49,9 @@ pipeline { } } } + post { + always { + sendNotifications currentBuild.result + } + } } |
