summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-02-26 16:20:54 +0100
committerKhouloud Touil <ktouil@baylibre.com>2019-02-28 10:05:00 +0100
commita6a95e66a49a05c9dc4ed45cb6330b7ccfa288e1 (patch)
tree5d49e04d0ceb7904820b83e4ff3f5618e85b39fd
parentb402e64a807f4cf682acd0e49eb7943f19b386f1 (diff)
Modify the url_fragment
Following all the modification and to keep things correct, this patch modify the url_fragment to gave a correct url following the build type if it is 'ci' or 'release' or other. Change-Id: I7122d5c4c31e37337ca68af3d86313d36e5b8f5b Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
-rw-r--r--utils/agljobtemplate.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index aab5234..2e2ad95 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -115,8 +115,10 @@ class Agljobtemplate(object):
url_base = section[1]
url_fragment = ''
- if (build_type != 'default'):
+ if (build_type == 'ci'):
url_fragment += changeid + '/' + patchset + '/'
+ else:
+ url_fragment += vcs_branch + '/' + version + '/'
if (machine == 'm3ulcb') or (machine == 'porter'):
url_fragment += machine + '-nogfx'