Commit 5b976cce authored by Eugene's avatar Eugene

jenkins/mahara_jenkins.sh: fix gerrit_query.php path

parent 281ddf58
......@@ -26,8 +26,8 @@ the_list=`git log --pretty=format:'%H' origin/$GERRIT_BRANCH..$HEAD`
while IFS= read -r line
do
# check if the commit or it's parents have been rejected
php=`which php`
outcome=`$php -f gerrit_query.php -- $line`
php=`which php`
outcome=`$php $HOME/mahara/mahara-scripts/jenkins/gerrit_query.php -- $line`
if [ "$outcome" = "1" ]; then
echo "This patch or one of its parents has been rejected"
exit 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment