From a6a95e66a49a05c9dc4ed45cb6330b7ccfa288e1 Mon Sep 17 00:00:00 2001 From: Khouloud Touil Date: Tue, 26 Feb 2019 16:20:54 +0100 Subject: 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 --- utils/agljobtemplate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utils') 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' -- cgit 1.2.3-korg