]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debug
authorHolger Levsen <holger@layer-acht.org>
Wed, 31 Aug 2011 17:28:02 +0000 (19:28 +0200)
committerHolger Levsen <holger@layer-acht.org>
Wed, 31 Aug 2011 17:28:02 +0000 (19:28 +0200)
build.py

index 472da262872d3e84cc78babbaed6a825634302fa..7fc36ae6c9a158128404189ee99366b84acfcee5 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -358,8 +358,9 @@ if __name__ == '__main__':
         )
        ret = parse_changelog.wait()
         stdout_msg = parse_changelog.stdout.read()
+        logger.info(stdout_msg)
 
-       cmd = ['grep-dctrl', '-n', '-s', "Version ''", stdout_msg]
+       cmd = ['grep-dctrl', '-n', '-s', 'Version', "''", stdout_msg]
        grep_dctrl =  subprocess.Popen(
                 cmd,
                 shell=False,
@@ -370,6 +371,7 @@ if __name__ == '__main__':
         )
        ret = grep_dctrl.wait()
         version = grep_dctrl.stdout.read()
+       logger.info('version is %s' % (version))
 
 
     if not GIT_COMMITTER_EMAIL: