]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
output the whole generated changelog file
authorMathias Klette <mathias.klette@profitbricks.com>
Mon, 3 Sep 2012 14:41:28 +0000 (16:41 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Mon, 3 Sep 2012 14:41:28 +0000 (16:41 +0200)
debian_build.py

index 2940c92c8ea4ca9e14342db4c0b32a12c63695a0..b17bb699d9dd55c7e6caa6f0956abd5728952367 100755 (executable)
@@ -469,6 +469,10 @@ if __name__ == '__main__':
     cmd = ['/usr/bin/git', 'commit', '-a', '-m', 'add new changelog entry']
     subprocess.check_call(cmd)
 
+    # let me see the whole changelog now:
+    for line in fileinput.input('debian/changelog'):
+        logger.debug('debian/changelog: %s' %(line.strip()))
+
     # set pb_suite which GitBuildPackage() will turn into PB_SUITE
     # if we wrote a changelog entry, use that one
     if GIT_BRANCH_NAME.startswith('feature/') or GIT_BRANCH_NAME.startswith('poc/') or GIT_BRANCH_NAME.startswith('bugfix/') or GIT_BRANCH_NAME == 'develop' or GIT_BRANCH_NAME == 'pre-staging' or GIT_BRANCH_NAME.startswith('release/'):