diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2019-04-29 15:21:39 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2019-04-29 15:23:35 +0000 |
commit | f9a19f9bb8e91a2543f015c669eb2dc3bdd598eb (patch) | |
tree | 9e1e44918de175f1f7384b8c52db754326fcffda /tcwg-binutils.yaml | |
parent | 30487d70fe8171d12b88369641e683b28c43e28f (diff) |
tcwg-binutils: Run ssh/scp commands inside docker
So that we have the right ssh configuration (.ssh/config)
Change-Id: I08894bc656dda87544372d8560899c10ccdcaca5
Diffstat (limited to 'tcwg-binutils.yaml')
-rw-r--r-- | tcwg-binutils.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tcwg-binutils.yaml b/tcwg-binutils.yaml index f231d97c13..ec9db24580 100644 --- a/tcwg-binutils.yaml +++ b/tcwg-binutils.yaml @@ -165,7 +165,8 @@ basedir="${log_server#*:}" log_server="${log_server%:*}" eval dir=${log_name} - ssh ${log_server} mkdir -p ${basedir}/${dir} + ${BUILD_SHELL} -c "ssh ${log_server} mkdir -p ${basedir}/${dir}" + # gcc-compare-results handles only .xz files, so compress # them before upload. Since the file are created inside a # container, the uid/gid may differ from the host's and @@ -180,7 +181,7 @@ cp $log artifacts/ done xz artifacts/*.sum artifacts/*.log - scp artifacts/*.sum.xz artifacts/*.log.xz ${log_server}:${basedir}/${dir}/ + ${BUILD_SHELL} -c "scp artifacts/*.sum.xz artifacts/*.log.xz ${log_server}:${basedir}/${dir}/" echo BUILD FINISHED $(date) |