]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
use toilet to be loud
authorHolger Levsen <holger@layer-acht.org>
Wed, 15 Feb 2012 15:01:58 +0000 (16:01 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 15 Feb 2012 15:01:58 +0000 (16:01 +0100)
debian_build.py

index 54ee3d065d7bcfb96ac6c2fb97b74b7b72b6ce9e..57ba2e89c69dc47b631ca728178c7089b8d4ea64 100755 (executable)
@@ -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()