modified: Jenkinsfile

Fixed try statement
This commit is contained in:
Jonathan Ervine 2020-06-05 15:31:28 +08:00
parent 94e4e6d344
commit 5fe45da9dc

3
Jenkinsfile vendored
View File

@ -19,5 +19,8 @@ node("docker-node") {
sh "/usr/local/bin/kubectl -n media delete po watcher-0" sh "/usr/local/bin/kubectl -n media delete po watcher-0"
} }
} }
catch (err) {
currentBuild.result = 'FAILURE'
}
} }
} }