Browse Source

Fix server files location for push tempest artifacts

Change-Id: Id73dabce1c3cb31ea86a88297ebe73f2c4ba1d5c
Sergey Reshetnyak 2 years ago
parent
commit
0c2ce0591a
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      service/files/defaults.yaml
  2. 1
    1
      service/files/run-tempest.sh.j2

+ 1
- 1
service/files/defaults.yaml View File

@@ -20,7 +20,7 @@ configs:
20 20
         port: 22
21 21
         private_key: ""
22 22
         publish: false
23
-        server_path: /var/www/html/
23
+        server_path: /var/www/html
24 24
         site: http://localhost
25 25
         username: jenkins
26 26
       volume:

+ 1
- 1
service/files/run-tempest.sh.j2 View File

@@ -12,7 +12,7 @@ function publish_artifacts {
12 12
     rally verify results --html --output-file "${path}/result.html"
13 13
     # TODO: add junit report
14 14
 
15
-    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 }}
15
+    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 }}
16 16
     echo "Artifacts are located to {{ rally.tempest.static.site }}/{{ rally.tempest.static.path }}"
17 17
 }
18 18
 

Loading…
Cancel
Save