From 850561728b40fede38713952c5f06e605bc19146 Mon Sep 17 00:00:00 2001 From: willqvq Date: Fri, 6 Nov 2020 17:46:53 +0800 Subject: [PATCH] update the .Jenkinsfile --- .Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.Jenkinsfile b/.Jenkinsfile index b7dd29a0..7c0a64fd 100644 --- a/.Jenkinsfile +++ b/.Jenkinsfile @@ -36,10 +36,13 @@ pipeline { } } post { - always { - sh 'post' + failure { + sh 'post 1' + } + success { + sh 'post 0' + sh 'post github' } - } } \ No newline at end of file