[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.

@pwendell @JoshRosen Please help review, thanks!
@liancheng I should be able to modify our pull request builders to inject this variable as `JENKINS_MASTER_HOSTNAME`.