Fix copying files via scp
Change-Id: I1e446803b24fdd1b7ea302f08deadbc64667d249
This commit is contained in:
parent
5f21fd08c8
commit
6cbcc7d9ca
|
@ -20,6 +20,7 @@ configs:
|
||||||
port: 22
|
port: 22
|
||||||
private_key: ""
|
private_key: ""
|
||||||
publish: false
|
publish: false
|
||||||
|
server_path: /var/www/html/
|
||||||
site: http://localhost
|
site: http://localhost
|
||||||
username: jenkins
|
username: jenkins
|
||||||
volume:
|
volume:
|
||||||
|
|
|
@ -12,8 +12,8 @@ function publish_artifacts {
|
||||||
rally verify results --html --output-file "${path}/result.html"
|
rally verify results --html --output-file "${path}/result.html"
|
||||||
# TODO: add junit report
|
# TODO: add junit report
|
||||||
|
|
||||||
scp -i /var/lib/rally/static.pem "${path}" {{ rally.tempest.static.username }}@{{ rally.tempest.static.host }}:{{ rally.tempest.static.port }}:
|
scp -o StrictHostKeyChecking=no -r -i /var/lib/rally/static.pem -p {{ rally.tempest.static.port }} "${path}" {{ rally.tempest.static.username }}@{{ rally.tempest.static.host }}:{{ rally.tempest.static.server_path }}
|
||||||
echo "Artifacts are located to {{ rally.tempest.static.site }}/${path}"
|
echo "Artifacts are located to {{ rally.tempest.static.site }}/{{ rally.tempest.static.path }}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# OS credentials
|
# OS credentials
|
||||||
|
@ -46,7 +46,7 @@ rally verify showconfig
|
||||||
|
|
||||||
os_release="{{ rally.tempest.openstack_release }}"
|
os_release="{{ rally.tempest.openstack_release }}"
|
||||||
|
|
||||||
rally verify start --skip-list "/var/lib/rally/${os_release}-skip-list.list"
|
rally verify start --set smoke --skip-list "/var/lib/rally/${os_release}-skip-list.list"
|
||||||
|
|
||||||
{% if rally.tempest.static.publish %}
|
{% if rally.tempest.static.publish %}
|
||||||
publish_artifacts
|
publish_artifacts
|
||||||
|
|
Loading…
Reference in New Issue