Skip to content

Instantly share code, notes, and snippets.

@jdlrobson
Created Jun 18, 2015
Embed
What would you like to do?
echo 'Scanning'
# Download the latest oldest patch that has a score of 0 for Gather that is not marked as wip.
gerrit.py --ignore 'WIP' --project 'mediawiki/extensions/Gather' --feeling_lucky 1 --ltscore 1 --gtscore -1
bundle install > tmp
msg=$(bundle exec cucumber features/ --format rerun)
# Run GerritCommandLine script with score and message
if [ $? -ne 0 ]; then
echo 'bad'
gerrit.py --review -1 --message "${msg}"
else
echo 'good'
gerrit.py --review 1 --message "${msg}"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment