diff --git a/.Jenkinsfile b/.Jenkinsfile index 26f9f0f..c90a54a 100644 --- a/.Jenkinsfile +++ b/.Jenkinsfile @@ -33,8 +33,12 @@ pipeline { } } post { - always { - sh 'post' + failure { + sh 'post 1' + } + success { + sh 'post 0' + sh 'post github' } }