From: Holger Levsen Date: Wed, 31 Aug 2011 17:28:02 +0000 (+0200) Subject: debug X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=77bb5c37493dfd1ef2015d3001a74d2e4396befc;p=profitbricks%2Fjenkins-build-scripts.git debug --- diff --git a/build.py b/build.py index 472da26..7fc36ae 100755 --- 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: