Skip to content

Commit 8505617

Browse files
committed
update the .Jenkinsfile
1 parent c707cd4 commit 8505617

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.Jenkinsfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,13 @@ pipeline {
3636
}
3737
}
3838
post {
39-
always {
40-
sh 'post'
39+
failure {
40+
sh 'post 1'
41+
}
42+
success {
43+
sh 'post 0'
44+
sh 'post github'
4145
}
42-
4346
}
4447

4548
}

0 commit comments

Comments
 (0)