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

index fd32029442be88977826cb6ff16847abebd6fcaf..0a6c11f45e40390f359bbcec04656ca9b6073c4f 100755 (executable)
@@ -444,12 +444,12 @@ if __name__ == '__main__':
         logger.debug('git-buildpackage executed successfully')
 #    if not ret:
         build_log=os.path.join('../build-area/result/', '%s_%s_amd64.build' % (pkg_name, version))
-        try:
-          fh = open(build_log, 'r')
-          logger.debug('Output of the deb build: %s' % (fh.read()))
-          fh.close()
-       except:
-         pass
+#        try:
+#          fh = open(build_log, 'r')
+#          logger.debug('Output of the deb build: %s' % (fh.read()))
+#          fh.close()
+#      except:
+#        pass
 #        exit_error()
 #    else:
         try: