]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
test for fixing missing version output
authorMathias Klette <mathias.klette@profitbricks.com>
Wed, 31 Aug 2011 19:01:46 +0000 (21:01 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Wed, 31 Aug 2011 19:01:46 +0000 (21:01 +0200)
build.py

index 33f590cde5b85f9bef73c0828f36acb668f64479..caa1ff9bd9d6d4bbdbc036859d0f10f611183ecf 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -358,13 +358,13 @@ if __name__ == '__main__':
         )
        ret = parse_changelog.wait()
 
-        stdout_msg = parse_changelog.stdout.read()
+        #stdout_msg = parse_changelog.stdout.read()
 
         logger.info(stdout_msg)
 
        # i hate this: a version needs to include a . now...
-       #cmd = ['grep-dctrl', '-n', '-s', 'Version', '.']
-       cmd = [ 'awk', '/^Version: / {print $2}']
+       cmd = ['grep-dctrl', '-n', '-s', 'Version', '']
+       #cmd = [ 'awk', '/^Version: / {print $2}']
        grep_dctrl =  subprocess.Popen(
                 cmd,
                 shell=False,