aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-10-05 16:42:41 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-10-05 16:42:41 +0200
commit7c7dbb1c7c4f07d565b694d8b154707a7b5bfd4a (patch)
tree46330fb583378c71571bce9ea0ac31a8516095d5 /plugins
parenta35970a9cdfcc4bd80b33e9bfa3e58b330d41bef (diff)
downloadmonitoring_custom-7c7dbb1c7c4f07d565b694d8b154707a7b5bfd4a.tar.gz
fix check_jenkins_job
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/check_jenkins_job1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_jenkins_job b/plugins/check_jenkins_job
index 5f075bd..caab6a7 100755
--- a/plugins/check_jenkins_job
+++ b/plugins/check_jenkins_job
@@ -26,6 +26,7 @@ if [ "$RESULT" = "SUCCESS" ]; then
exit 0
elif [ "$RUNNING" = "true" ]; then
echo "JOB OK: $JOB $ID is running"
+ exit 0
fi
echo "JOB CRITICAL: $JOB $ID failed"