You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2013/06/28 09:04:48 UTC
git commit: [flex-sdk] [refs/heads/develop] - Explicitly exit with an error code when there are failures left after running with '-failures'… Without this code the script 'jenkins.sh' will complete successfully - as nothing went wrong with it - and Jenki
Updated Branches:
refs/heads/develop 643dc5bad -> 588e0aba4
Explicitly exit with an error code when there are failures left after running with '-failures'… Without this code the script 'jenkins.sh' will complete successfully - as nothing went wrong with it - and Jenkins won't report on the failures :-(
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/588e0aba
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/588e0aba
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/588e0aba
Branch: refs/heads/develop
Commit: 588e0aba4df4a6e8825d66cd6124179a9ba540a7
Parents: 643dc5b
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Fri Jun 28 09:04:13 2013 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Fri Jun 28 09:04:27 2013 +0200
----------------------------------------------------------------------
mustella/jenkins.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/588e0aba/mustella/jenkins.sh
----------------------------------------------------------------------
diff --git a/mustella/jenkins.sh b/mustella/jenkins.sh
index 53949d1..74f7e5b 100755
--- a/mustella/jenkins.sh
+++ b/mustella/jenkins.sh
@@ -86,11 +86,11 @@ then
if [[ -s failures.txt ]]
then
echo "Some of tests failed, even after running '-failures'..."
+
+ exit 1
else
echo "All tests passed after running '-failures'"
fi
else
echo "All tests passed on first run"
fi
-
-rm -f local.properties