devstack-gate requires this and assumes it's installed when the host is
"puppetized." We don't use puppet for the ODL CI, so manually install
this instead.
Change-Id: Ie656c7a65e20f5edba171d2c23c1cc22f8e4e9c7
Signed-off-by: Kyle Mestery <mestery@mestery.com>
sudo chown -R jenkins:jenkins /opt/stack/new
sudo bash -c 'echo "stack ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers'
+# We need to install some scripts from openstack-infra/project-config
+cd ~
+echo "Setting up infra scripts"
+sudo mkdir -p /usr/local/jenkins/slave_scripts
+git clone https://git.openstack.org/openstack-infra/project-config
+cd project-config
+sudo cp jenkins/scripts/subunit2html.py /usr/local/jenkins/slave_scripts
+
# Save existing WORKSPACE
SAVED_WORKSPACE=$WORKSPACE
export WORKSPACE=~/workspace