summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-06-06 18:49:58 +0000
committerCorentin LABBE <clabbe@baylibre.com>2019-06-06 18:49:58 +0000
commitd914aa545860a8462aea181b142ff27c257231d0 (patch)
tree97274f43eaab89f9b35840084d259cd034e95b2a /utils/agljobtemplate.py
parent409a536f9214c84e28534113c841f41cab00d2eb (diff)
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 <clabbe@baylibre.com> Change-Id: I84bc2d8bbcbc49b048bbd95f84a531bde9ac6aba
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py6
1 files 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