From: Tobias von der Krone Date: Mon, 14 Oct 2013 10:51:20 +0000 (+0200) Subject: debian_build.py: correct build_failed X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=fde866c15ba06e8bf51f5a3be623e9666672f9e4;p=profitbricks%2Fjenkins-build-scripts.git debian_build.py: correct build_failed --- diff --git a/debian_build.py b/debian_build.py index 3147810..12df0c2 100755 --- a/debian_build.py +++ b/debian_build.py @@ -520,7 +520,7 @@ export {gbp_env} FORCE_SHELL=TRUE # .. and finally handle the result if ret: - build_failed = False + build_failed = True logger.error('git-buildpackage failed with exitcode {code}'.format(code=ret)) figlet('Build failed') failed_message = 'package build has failed' @@ -531,7 +531,7 @@ export {gbp_env} FORCE_SHELL=TRUE do_uploads = False no_uploads_cause = failed_message else: - build_failed = True + build_failed = False figlet('Build OK') #