From 32b88dfd726ba9e85999d465c15af56ebeea5888 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Fri, 3 May 2019 15:14:28 +0200 Subject: SPEC-2075: fix URL generation for upsquare non-CI build When adding support for upsquare, I have added a new machine_frag_url which contains the machine to use in url. It works for CI build type, but for other I miss to convert one machine to machine_frag_url Bug-AGL: SPEC-2075 Change-Id: Ieaaf71b62425cf73fb9582b84666640c4e9d6cae Signed-off-by: Corentin LABBE --- utils/agljobtemplate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/agljobtemplate.py') diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py index cbf27e7..b12a8ef 100644 --- a/utils/agljobtemplate.py +++ b/utils/agljobtemplate.py @@ -130,7 +130,7 @@ class Agljobtemplate(object): url_fragment += machine_frag_url if (build_type != 'ci'): - url_fragment += '/deploy/images/' + machine + url_fragment += '/deploy/images/' + machine_frag_url url = urlparse.urljoin(url_base, url_fragment) -- cgit 1.2.3-korg