Created
June 18, 2015 17:58
-
-
Save jdlrobson/32b607f8009e897ee80c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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