Save ONOS diags on failure in UP4, QoS Mobile and QoS non-mobile tests
Change-Id: I1e2320163d1cd547594c25a768f842d9ae16925d
diff --git a/TestON/docker/Dockerfile b/TestON/docker/Dockerfile
index 5ad5d52..2c43893 100644
--- a/TestON/docker/Dockerfile
+++ b/TestON/docker/Dockerfile
@@ -51,9 +51,14 @@
mkdir -p /var/run/sshd && \
mkdir -p /var/log/supervisor && \
useradd -m jenkins && \
+ chmod 777 /tmp && \
chsh -s /bin/bash jenkins && \
echo jenkins:jenkins | chpasswd
+RUN curl -sS --fail "https://repo1.maven.org/maven2/org/onosproject/onos-releases/2.5.4/onos-admin-2.5.4.tar.gz" | tar zx && \
+ mv onos-admin-2.5.4/* /usr/local/bin/ && \
+ rm -r onos-admin-2.5.4
+
ENV PYTHONPATH=${TREX_EXT_LIBS}:${TREX_LIBS}
# TODO: should we parametrize those?
ENV OC1=localhost