We now have a logs publisher

We need to create a directory to allow publishing of logs.

Change-Id: Ieeac5d236b698bedaccb8b5f0bb16f0de9df9386
Backport: Liberty
Partially-Implements: blueprint multinode-gate
This commit is contained in:
Sam Yaple 2015-11-09 10:54:50 +00:00
parent 33d39f2942
commit 4a7cd7063f

View File

@ -18,5 +18,10 @@ if [[ ! -f /etc/sudoers.d/jenkins ]]; then
echo "jenkins ALL=(:docker) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/jenkins
fi
# This creates a logs directory for the devstack logs publisher
mkdir logs
# We symlink the logs dir to a known location
ln -s $(pwd)/logs /tmp/logs
distro=$(awk -F'[="]'+ '/^ID/ {print tolower($2); exit}' /etc/*-release)
exec tests/setup_${distro}.sh