Files
zuul/tests/fixtures/git_fail.sh
James E. Blair 9fa3c6ec6e Send merge completed events even in case of error
The scheduler depends on merge completed events in order to advance
the lifecycle of a queue item.  Without them, items can be stuck in
the queue indefinitely.

In the case of certain merge errors, we may not have submitted a
result to the event queue.  This change corrects that.

Change-Id: I9527c79868ede31f1fa68faf93ff113ac786462b
2021-08-19 10:21:21 -07:00

14 lines
155 B
Bash
Executable File

#!/bin/sh
echo $*
case "$1" in
fetch)
echo "Fake git error"
exit 1
;;
version)
echo "git version 1.0.0"
exit 0
;;
esac