Fix server files location for push tempest artifacts
Change-Id: Id73dabce1c3cb31ea86a88297ebe73f2c4ba1d5c
This commit is contained in:
parent
b73fabb2fc
commit
0c2ce0591a
|
@ -20,7 +20,7 @@ configs:
|
||||||
port: 22
|
port: 22
|
||||||
private_key: ""
|
private_key: ""
|
||||||
publish: false
|
publish: false
|
||||||
server_path: /var/www/html/
|
server_path: /var/www/html
|
||||||
site: http://localhost
|
site: http://localhost
|
||||||
username: jenkins
|
username: jenkins
|
||||||
volume:
|
volume:
|
||||||
|
|
|
@ -12,7 +12,7 @@ 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 -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 }}
|
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 }}/{{ rally.tempest.static.path }}
|
||||||
echo "Artifacts are located to {{ rally.tempest.static.site }}/{{ rally.tempest.static.path }}"
|
echo "Artifacts are located to {{ rally.tempest.static.site }}/{{ rally.tempest.static.path }}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue