[SPARK-4000][BUILD] Sends archived unit tests logs to Jenkins master

This PR sends archived unit tests logs to the build history directory in Jenkins master, so that we can serve it via HTTP later to help debugging Jenkins build failures.
It's not good to hardcode Jenkins master hostname here. Should inject an extra environment variable `$MASTER_NODE_NAME` in Jenkins configurations.