From: Holger Levsen Date: Wed, 15 Feb 2012 15:47:52 +0000 (+0100) Subject: success X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=1919a109c295dbf49d113a1f0b3418279427928e;p=profitbricks%2Fjenkins-build-scripts.git success --- diff --git a/debian_build.py b/debian_build.py index a0f1d25..66a62b2 100755 --- a/debian_build.py +++ b/debian_build.py @@ -427,10 +427,10 @@ if __name__ == '__main__': cmd = ['figlet-figlet', '-t', 'dist: %s' %(pb_suite)] subprocess.check_call(cmd) - print 'dist: %s' %(pb_suite) + logger.info('dist: %s' %(pb_suite)) cmd = ['figlet-figlet', '-t', 'version: %s' %(version)] subprocess.check_call(cmd) - print 'version: %s' %(version) + logger.info('version: %s' %(version)) gbp = git_buildpackage.GitBuildPackage( upstream_branch=GIT_UPSTREAM_BRANCH, @@ -478,6 +478,16 @@ if __name__ == '__main__': dput_package_upload(changes_file) else: logger.debug('value of NO_UPLOAD: %s' % NO_UPLOAD) + cmd = ['figlet-figlet', '-t', 'dist: %s' %(pb_suite)] + subprocess.check_call(cmd) + logger.info('dist: %s' %(pb_suite)) + cmd = ['figlet-figlet', '-t', 'version: %s' %(version)] + subprocess.check_call(cmd) + logger.info('version: %s' %(version)) + logger.info('---------------------------------------------------------------------------------------------------------') + cmd = ['figlet-figlet', '-t', 'Success!!!'] + subprocess.check_call(cmd) + except Exception, error: cmd = ['figlet-figlet', '-t', 'upload to reprepro failed:'] subprocess.check_call(cmd)