From: Holger Levsen Date: Thu, 1 Sep 2011 16:51:01 +0000 (+0200) Subject: nicer changelog for daily builds X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=fd23df4a03ddfc0f4da90b02c1d0153ad567e64d;p=profitbricks%2Fjenkins-build-scripts.git nicer changelog for daily builds --- diff --git a/build.py b/build.py index bc92021..55e497f 100755 --- 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))