commit eb6aa2a70bc285a0bb9dc697208d90f024bf0795 parent 6fd66b7275320f32468c1df5db03eced3d82f032 Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Mon, 6 Mar 2017 22:18:15 +0100 If build succeeds, then swtich active party. Diffstat:
| M | taler-build/switch_bluegreen.sh | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/taler-build/switch_bluegreen.sh b/taler-build/switch_bluegreen.sh @@ -7,4 +7,10 @@ if test $active="test-blue"; then nonactive="test-green" fi -sudo -u $nonactive bash -c 'source $HOME/activate; taler-deployment-build' +if sudo -u $nonactive \ + bash -c 'source $HOME/activate; taler-deployment-build'; then + + sudo -u test /home/test/ln-${nonactive}.sh +fi + +# FIXME report build failure by e-mail.