From d914aa545860a8462aea181b142ff27c257231d0 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 6 Jun 2019 18:49:58 +0000 Subject: agljobtemplate: fix url generation for m3ulcb When adding support for upsquare the URL generation for m3ulcb was broken. This patchs fix the generation by adding a new variable for the build name. Fixes: 32b88dfd726b ("SPEC-2075: fix URL generation for upsquare non-CI build") Bug-AGL: SPEC-2470 Signed-off-by: Corentin LABBE Change-Id: I84bc2d8bbcbc49b048bbd95f84a531bde9ac6aba --- utils/agljobtemplate.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py index 3c69832..0ecd0b5 100644 --- a/utils/agljobtemplate.py +++ b/utils/agljobtemplate.py @@ -123,11 +123,13 @@ class Agljobtemplate(object): url_fragment += vcs_branch + '/' + version + '/' machine_frag_url = machine + build_name = machine if (machine == 'm3ulcb'): - machine_frag_url = machine + '-nogfx' + build_name = machine + '-nogfx' if machine == "upsquare": machine_frag_url = "intel-corei7-64" - url_fragment += machine_frag_url + build_name = "intel-corei7-64" + url_fragment += build_name if (build_type != 'ci'): url_fragment += '/deploy/images/' + machine_frag_url -- cgit