Copy tempest xunit output back to Jenkins

Change-Id: I907818db4e733ad9513c16246c3cf2327f210bd4
This commit is contained in:
James E. Blair
2012-04-25 15:22:22 -07:00
parent f6dbd0b66f
commit 4acf48ba87

View File

@@ -132,6 +132,10 @@ scp -C -q $NODE_IP_ADDR:/opt/stack/screen-logs/* $WORKSPACE/logs/
rename 's/\.log$/.txt/' $WORKSPACE/logs/*
# Remove duplicate logs
rm $WORKSPACE/logs/*.*.txt
# Copy XUnit test results from tempest, if run.
if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then
scp -C -q $NODE_IP_ADDR:/opt/stack/tempest/nosetests.xml $WORKSPACE/tempest/
fi
# Now check whether the run was a success
if [ -n "$RESULT_ID" ]; then