Fix spacing and add debug statement
Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/50c02005 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/50c02005 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/50c02005 Branch: refs/heads/FLUME-1787 Commit: 50c02005b7ee8a2d08f492fa0242d18f751daeec Parents: 564ae73 Author: Brock Noland <[email protected]> Authored: Thu Dec 20 09:57:31 2012 -0600 Committer: Brock Noland <[email protected]> Committed: Thu Dec 20 09:57:31 2012 -0600 ---------------------------------------------------------------------- dev-support/test-patch.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/50c02005/dev-support/test-patch.py ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py index fb7bacf..ff2b905 100755 --- a/dev-support/test-patch.py +++ b/dev-support/test-patch.py @@ -49,8 +49,8 @@ def jira_post_comment(result, defect, branch, username, password): for success in result._success: body += [ "{color:green}SUCCESS:{color} %s" % (success) ] if "BUILD_URL" in os.environ: - body += [ "Console output: %s/console" % (os.environ['BUILD_URL']) ] body += [ "" ] + body += [ "Console output: %sconsole" % (os.environ['BUILD_URL']) ] body += [ "" ] body += [ "This message is automatically generated." ] body = "{\"body\": \"%s\"}" % ("\\n".join(body)) @@ -90,6 +90,7 @@ def git_cleanup(): def git_checkout(result, branch): if execute("git checkout %s" % (branch)) != 0: result.fatal("git checkout %s failed" % branch) + execute("git clean -d -n") if execute("git clean -d -f") != 0: result.fatal("git clean failed") if execute("git reset --hard HEAD") != 0:
