]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
nicer changelog for daily builds
authorHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 16:51:01 +0000 (18:51 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 16:51:01 +0000 (18:51 +0200)
build.py

index bc920211352f4804570c94fdbdd99982536d6260..55e497f625e20ae1ce46016bab88d4d854725fe2 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -300,10 +300,10 @@ if __name__ == '__main__':
 
         if ret:
             raise Exception('git log was not successfull')
-        #git_log_output = map(
-        #        lambda x: x.rstrip(),
-        #        git_log.stdout.readlines()
-        #)
+        git_log_output = map(
+                lambda x: x.rstrip(),
+                git_log.stdout.readlines()
+        )
 
 
         cmd = [
@@ -316,9 +316,10 @@ if __name__ == '__main__':
                 '--distribution',
                 '%s' %(options.distribution),
                 '--',
-                '%s' %(''.join(git_log.stdout.read()))
+                '%s' %(''.join(git_log_output))
         ]
         #        '%s' %(git_log_output)
+        #        '%s' %(''.join(git_log.stdout.read()))
 
         logger.debug('Trying to call: %s' %(cmd))