summaryrefslogtreecommitdiff
path: root/extra/oxidized-report-git-commits
diff options
context:
space:
mode:
Diffstat (limited to 'extra/oxidized-report-git-commits')
-rwxr-xr-xextra/oxidized-report-git-commits4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/oxidized-report-git-commits b/extra/oxidized-report-git-commits
index 3bf1bbc..db36ecf 100755
--- a/extra/oxidized-report-git-commits
+++ b/extra/oxidized-report-git-commits
@@ -39,6 +39,10 @@ echo "Group name: ${OX_NODE_GROUP}"
echo "Job status: ${OX_JOB_STATUS}"
echo "Job time: ${OX_JOB_TIME}"
+if [ "${OX_EVENT}" = "node_fail" ]; then
+ echo 'Job failed'
+ exit 64
+fi
if [ -z "${OX_REPO_COMMITREF}" ]; then
echo '$OX_REPO_COMMITREF not set'