summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-05-03 15:14:28 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-05-22 10:43:15 +0000
commit32b88dfd726ba9e85999d465c15af56ebeea5888 (patch)
tree07d603c2e0bdb2e83540be3bac63c878eabf869f /utils/agljobtemplate.py
parente0f674a2693507d589d8a43c38496ff80e56d8c7 (diff)
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 <clabbe@baylibre.com>
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py2
1 files changed, 1 insertions, 1 deletions
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)