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

index a0f1d25454883434edfa890380ec6f011f47a81d..66a62b245c491c124a2daddf4a483fe7e4c8b4d7 100755 (executable)
@@ -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)