summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug.hellmann@dreamhost.com>2013-07-21 10:57:11 -0400
committerDoug Hellmann <doug.hellmann@dreamhost.com>2013-07-21 10:57:11 -0400
commite6164128930f4d3e203b0a8434ab096895b81d18 (patch)
tree2607e2abb333a1682e8cf41e85bdaa0f12bcee02
parent09d9af4ad072c402c30c389a838be16d55f7b2c7 (diff)
downloadpbr-e6164128930f4d3e203b0a8434ab096895b81d18.tar.gz
Do not assume the tests run as jenkins
Use $HOME instead of "/home/jenkins" in the generated configuration files to let the script be run as a user other than jenkins. Change-Id: I9413591bb4a7d821382eae6dc3edd1df0c41a5e6
-rw-r--r--tools/integration.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/integration.sh b/tools/integration.sh
index d4fafa5..9f4426c 100644
--- a/tools/integration.sh
+++ b/tools/integration.sh
@@ -45,7 +45,7 @@ mkdir -p ~/.pip
cat <<EOF > ~/.pip/pip.conf
[global]
-log = /home/jenkins/pip.log
+log = $HOME/pip.log
EOF
mkvenv $jeepybvenv 'setuptools>=0.7' pip
@@ -87,7 +87,7 @@ cat <<EOF > ~/.pip/pip.conf
[global]
index-url = $pypiurl
extra-index-url = http://pypi.openstack.org/openstack
-log = /home/jenkins/pip.log
+log = $HOME/pip.log
EOF
projectdir=$tmpdir/projects