[Fusionforge-commits] FusionForge branch 6.0 updated. v5.3-rc4-2985-g47aa323
Roland Mas
lolando at libremir.placard.fr.eu.org
Sun May 31 20:04:39 CEST 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, 6.0 has been updated
via 47aa32310af56c47df31937adbb87e14ee0c7dfa (commit)
from 7352b92b1763c72c680eac25d15992bc5d0bf469 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 47aa32310af56c47df31937adbb87e14ee0c7dfa
Author: Roland Mas <lolando at debian.org>
Date: Sun May 31 20:04:28 2015 +0200
Only fetch built packages into the workspace if the tests were successful
diff --git a/tests/buildbot/fusionforge-build-and-test.sh b/tests/buildbot/fusionforge-build-and-test.sh
index 6961257..80dc556 100755
--- a/tests/buildbot/fusionforge-build-and-test.sh
+++ b/tests/buildbot/fusionforge-build-and-test.sh
@@ -98,14 +98,16 @@ ssh root@$HOST "/usr/src/fusionforge/autoinstall/vnc-run-testsuite.sh /usr/src/f
copy_logs
-case $INSTALL_METHOD in
- deb)
- rsync -av --delete root@$HOST:/usr/src/debian-repository/local/ $WORKSPACE/packages/
- ;;
- rpm)
- rsync -av --delete root@$HOST:/usr/src/fusionforge/build/RPMS/ $WORKSPACE/packages/
- ;;
-esac
+if [ $retcode = 0 ] ; then
+ case $INSTALL_METHOD in
+ deb)
+ rsync -av --delete root@$HOST:/usr/src/debian-repository/local/ $WORKSPACE/packages/
+ ;;
+ rpm)
+ rsync -av --delete root@$HOST:/usr/src/fusionforge/build/RPMS/ $WORKSPACE/packages/
+ ;;
+ esac
+fi
stop_vm_if_not_kept $HOST
exit $retcode
-----------------------------------------------------------------------
Summary of changes:
tests/buildbot/fusionforge-build-and-test.sh | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/tests/buildbot/fusionforge-build-and-test.sh b/tests/buildbot/fusionforge-build-and-test.sh
index 6961257..80dc556 100755
--- a/tests/buildbot/fusionforge-build-and-test.sh
+++ b/tests/buildbot/fusionforge-build-and-test.sh
@@ -98,14 +98,16 @@ ssh root@$HOST "/usr/src/fusionforge/autoinstall/vnc-run-testsuite.sh /usr/src/f
copy_logs
-case $INSTALL_METHOD in
- deb)
- rsync -av --delete root@$HOST:/usr/src/debian-repository/local/ $WORKSPACE/packages/
- ;;
- rpm)
- rsync -av --delete root@$HOST:/usr/src/fusionforge/build/RPMS/ $WORKSPACE/packages/
- ;;
-esac
+if [ $retcode = 0 ] ; then
+ case $INSTALL_METHOD in
+ deb)
+ rsync -av --delete root@$HOST:/usr/src/debian-repository/local/ $WORKSPACE/packages/
+ ;;
+ rpm)
+ rsync -av --delete root@$HOST:/usr/src/fusionforge/build/RPMS/ $WORKSPACE/packages/
+ ;;
+ esac
+fi
stop_vm_if_not_kept $HOST
exit $retcode
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list