This is an automated email from the ASF dual-hosted git repository.

vinodkone pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 08bd06e  Updated Build bot to write out test report xml files.
08bd06e is described below

commit 08bd06e3275e2d44cca234bfd6cdf3d0f84acbf1
Author: Vinod Kone <[email protected]>
AuthorDate: Wed Nov 7 13:35:21 2018 -0800

    Updated Build bot to write out test report xml files.
    
    This can be used by Jenkins to display test trends.
    
    Review: https://reviews.apache.org/r/69279/
---
 support/mesos-build.sh            | 4 ++++
 support/mesos-build/entrypoint.sh | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/support/mesos-build.sh b/support/mesos-build.sh
index d146cc1..c2d121d 100755
--- a/support/mesos-build.sh
+++ b/support/mesos-build.sh
@@ -34,6 +34,10 @@ if ! $(git diff-index --quiet HEAD --); then
   exit 1
 fi
 
+# NOTE: We chmod the directory here so that the docker containter can
+# copy out the test report xml files from the container file system.
+chmod 777 ${MESOS_DIR}
+
 docker run \
   --rm \
   -v "${MESOS_DIR}":/SRC:Z \
diff --git a/support/mesos-build/entrypoint.sh 
b/support/mesos-build/entrypoint.sh
index ec98cc8..012f003 100755
--- a/support/mesos-build/entrypoint.sh
+++ b/support/mesos-build/entrypoint.sh
@@ -81,3 +81,9 @@ case ${BUILDTOOL} in
     exit 1
     ;;
 esac
+
+
+# Copy out the test report files.
+cp 3rdparty/stout/tests/report.xml /SRC/stout_report.xml
+cp 3rdparty/libprocess/src/tests/report.xml /SRC/libprocess_report.xml
+cp src/tests/report.xml /SRC/mesos_report.xml

Reply via email to