From: Holger Levsen Date: Wed, 15 Feb 2012 15:01:58 +0000 (+0100) Subject: use toilet to be loud X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=55475bdc3ca62ea64473c3a15bd5c5ddff6d8565;p=profitbricks%2Fjenkins-build-scripts.git use toilet to be loud --- diff --git a/debian_build.py b/debian_build.py index 54ee3d0..57ba2e8 100755 --- a/debian_build.py +++ b/debian_build.py @@ -425,6 +425,11 @@ if __name__ == '__main__': elif GIT_BRANCH_NAME.startswith('hotfix/') or options.distribution in ('stable', 'stable-proposed-updates', 'production', 'production-proposed-updates'): pb_suite='production-proposed-updates' + cmd = ['toilet', '-w', '200', 'dist: %s' %(pb_suite)] + subprocess.check_call(cmd) + cmd = ['toilet', '-w', '200', 'version: %s' %(version)] + subprocess.check_call(cmd) + gbp = git_buildpackage.GitBuildPackage( upstream_branch=GIT_UPSTREAM_BRANCH, debian_branch=GIT_DEBIAN_BRANCH, @@ -472,6 +477,8 @@ if __name__ == '__main__': else: logger.debug('value of NO_UPLOAD: %s' % NO_UPLOAD) except Exception, error: + cmd = ['toilet', 'upload to reprepro failed:'] + subprocess.check_call(cmd) logger.exception(error) exit_error()