diff options
author | Stuart Monteith <stuart.monteith@linaro.org> | 2016-10-03 03:46:03 -0700 |
---|---|---|
committer | Stuart Monteith <stuart.monteith@linaro.org> | 2016-10-03 03:46:03 -0700 |
commit | d66f6207080337015c7f877e3a8a0334580e8183 (patch) | |
tree | e70a08d6bc78125f59a2f67ed40b0bd25766e0bf /benchmark-terasort-publish | |
parent | 273d264051f6019303dfcee7e5531edd9bb8dd5f (diff) |
Use PUBLISH_HOST variable instead of ssh-config
Use an environment variable instead of an ssh config. The jenkins
servers shouldn't have their ssh configs altered.
Diffstat (limited to 'benchmark-terasort-publish')
-rwxr-xr-x | benchmark-terasort-publish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark-terasort-publish b/benchmark-terasort-publish index b6050d5..9f3c595 100755 --- a/benchmark-terasort-publish +++ b/benchmark-terasort-publish @@ -34,11 +34,11 @@ source ${THIS_BENCHMARK_DIR}/common.sh $THIS_BENCHMARK_DIR/update-results-db d=$1/$(basename $BENCHMARK_RESULTS_DIR) -ssh publish-host mkdir -p $d +ssh ${PUBLISH_HOST} mkdir -p $d update-results-db results_file=$(mktemp /tmp/historic-results-XXXXXX.html) trap "rm -f $results_file" EXIT print-historic-results > $results_file chmod 644 $results_file -scp $results_file publish-host:$d/index.html -scp $THIS_BENCHMARK_DIR/*.css publish-host:$d +scp $results_file ${PUBLISH_HOST}:$d/index.html +scp $THIS_BENCHMARK_DIR/*.css ${PUBLISH_HOST}:$d |