From 3f5507f850a8c7d91bd6e6e96b6073568d3bb1c3 Mon Sep 17 00:00:00 2001 From: Chris Roos Date: Mon, 2 Jul 2012 17:15:23 +0100 Subject: [PATCH] Add rest-client logging to Smokey. This might prove useful as we attempt to debug some of the occassional Smokey build failures we see. * I've added a log directory and am writing the smokey rest-client log * file into that directory. The log file itself is ignored in * .gitignore. --- .gitignore | 1 + jenkins.sh | 2 +- log/.gitkeep | 0 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 log/.gitkeep diff --git a/.gitignore b/.gitignore index 7c94d578..5618d956 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ webrat.log +log/*.log \ No newline at end of file diff --git a/jenkins.sh b/jenkins.sh index 21f18730..27a4dae5 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -1,4 +1,4 @@ #!/bin/bash -x bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment -bundle exec rake test:localnetwork +RESTCLIENT_LOG="log/smokey-rest-client.log" bundle exec rake test:localnetwork diff --git a/log/.gitkeep b/log/.gitkeep new file mode 100644 index 00000000..e69de29b