Browse Source

Return npm site location as artifact

Later, we will update zuul-preview to look up artifact URLs for
sites and return that as the success url.

Change-Id: I8eae92e0b94085241a30b7d6e9b2894e1d07096e
master
James E. Blair 2 months ago
parent
commit
1814e8b316
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      roles/fetch-javascript-output/tasks/main.yaml

+ 8
- 0
roles/fetch-javascript-output/tasks/main.yaml View File

@@ -140,3 +140,11 @@
140 140
     src: "{{ coverage_output_src }}"
141 141
     verify_host: true
142 142
   when: coverage_report_stat.stat.exists
143
+
144
+- name: Return site artifact location to Zuul
145
+  zuul_return:
146
+    data:
147
+      zuul:
148
+        artifacts:
149
+          - name: "site"
150
+            url: "npm/html/"

Loading…
Cancel
Save