Skip to content

Commit 3f4cbc1

Browse files
WillQvQgitee-org
authored andcommitted
!5 update .Jenkinsfile
Merge pull request !5 from WillQvQ/dev
2 parents b747b15 + 6be1e65 commit 3f4cbc1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.Jenkinsfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ pipeline {
3333
}
3434
}
3535
post {
36-
always {
37-
sh 'post'
36+
failure {
37+
sh 'post 1'
38+
}
39+
success {
40+
sh 'post 0'
41+
sh 'post github'
3842
}
3943

4044
}

0 commit comments

Comments
 (0)