Use printf for creating multiline key

Change-Id: If9872a68495ab95d8e25394a658676314aaf2795
This commit is contained in:
Sergey Reshetnyak 2017-01-30 18:10:46 +03:00
parent e61c4539f0
commit 99e4bd5878
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ function publish_artifacts {
# TODO: add junit report # TODO: add junit report
local private_key_path="private.key" local private_key_path="private.key"
echo "{{ rally.tempest.static.private_key }}" > "${private_key_path}" printf "{{ rally.tempest.static.private_key }}" > "${private_key_path}"
chmod 600 "${private_key_path}" chmod 600 "${private_key_path}"
scp -i "${private_key_path}" "${path}" {{ rally.tempest.static.username }}@{{ rally.tempest.static.host }}:{{ rally.tempest.static.port }}: scp -i "${private_key_path}" "${path}" {{ rally.tempest.static.username }}@{{ rally.tempest.static.host }}:{{ rally.tempest.static.port }}:
echo "Artifacts are located to {{ rally.tempest.static.site }}/${path}" echo "Artifacts are located to {{ rally.tempest.static.site }}/${path}"