зеркало из https://github.com/mozilla/bugbot.git
Родитель
eb9ec4963d
Коммит
7ce0eabf0a
|
@ -1,5 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
PATH_SCRIPT="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
cd "$PATH_SCRIPT"
|
||||
|
@ -13,3 +12,10 @@ if test ! -f auto_nag/scripts/configs/people.json; then
|
|||
echo "Cannot run without the people.json file in auto_nag/scripts/configs/"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
errored=false
|
||||
ErrorHandler () {
|
||||
errored=true
|
||||
}
|
||||
|
||||
trap ErrorHandler ERR
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
export PYTHONPATH=.
|
||||
|
||||
|
@ -117,3 +116,7 @@ python -m auto_nag.scripts.stepstoreproduce
|
|||
python -m auto_nag.scripts.spambug
|
||||
|
||||
deactivate
|
||||
|
||||
if [ "$errored" = true ] ; then
|
||||
exit -1
|
||||
fi
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
export PYTHONPATH=.
|
||||
|
||||
|
@ -89,3 +88,7 @@ python -m auto_nag.scripts.prod_comp_changed_with_priority
|
|||
python -m auto_nag.log --send
|
||||
|
||||
deactivate
|
||||
|
||||
if [ "$errored" = true ] ; then
|
||||
exit -1
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче