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

index 5ee3025590232adce4555d0430eccfd389102d65..f02230ec293451425688d75cd743f8d0d9b0016c 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -357,6 +357,7 @@ if __name__ == '__main__':
                 cwd='./'
         )
        ret = parse_changelog.wait()
+
         stdout_msg = parse_changelog.stdout.read()
         logger.info(stdout_msg)
 
@@ -368,11 +369,12 @@ if __name__ == '__main__':
                stdin=parse_changelog.stdout,
                 stdout=subprocess.PIPE,
                 stderr=subprocess.PIPE,
-                cwd='./'
+                cwd=os.getcwd()
         )
        ret = grep_dctrl.wait()
         version = grep_dctrl.stdout.read()
        logger.info('version is %s' % (version))
+       logger.info('std-error is %s' % (grep_dctrl.stderr.read()))
 
 
     if not GIT_COMMITTER_EMAIL: