From 1814e8b316bf32226b874f25195d0ff2916bf016 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 1 Mar 2019 11:43:45 -0800 Subject: [PATCH] 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 --- roles/fetch-javascript-output/tasks/main.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/fetch-javascript-output/tasks/main.yaml b/roles/fetch-javascript-output/tasks/main.yaml index 13416cb2a..fdab0a692 100644 --- a/roles/fetch-javascript-output/tasks/main.yaml +++ b/roles/fetch-javascript-output/tasks/main.yaml @@ -140,3 +140,11 @@ src: "{{ coverage_output_src }}" verify_host: true when: coverage_report_stat.stat.exists + +- name: Return site artifact location to Zuul + zuul_return: + data: + zuul: + artifacts: + - name: "site" + url: "npm/html/"