blob: 38b0aeef0d9dba65a3547d29e8c6c1e3ceeb7180 [file] [log] [blame]
# This file is appended to all `task sshrun` builds. It is intended to clean
# up the jenkins environment apropriately.
if [ -d "${WORKSPACE}/result" ]; then
cd "${WORKSPACE}/result"
tar -c --xz * | ssh "${RESULT_HOST}" "cat > '${RESULT_FILE}'"
fi