summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-02-18 16:39:24 +0100
committerKhouloud Touil <ktouil@baylibre.com>2019-02-28 10:04:59 +0100
commitb402e64a807f4cf682acd0e49eb7943f19b386f1 (patch)
treeb4076bb7c12a6adb1b765e7ab659492ddf9fcfe4 /templates/base
parentf85aaa11059b36972d5fd1c9cb838e65dca7a5b0 (diff)
Add new metadata git.url
This patch adds a new metadata field git.url, this is a link back to the AGL gerrit. Change-Id: I7f7b5fff79198fac7814004ab99b3687cf92125c Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/agl-metadata.jinja21
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/base/agl-metadata.jinja2 b/templates/base/agl-metadata.jinja2
index 8b74379..0c61c3f 100644
--- a/templates/base/agl-metadata.jinja2
+++ b/templates/base/agl-metadata.jinja2
@@ -14,3 +14,4 @@ metadata:
test.plan: {{ test_plan }}
device.type: {{ device_type }}
job.build_environment: {{ kernel_tree }}
+ {% if (change_id) and (patch_set) %} git.url: https://gerrit.automotivelinux.org/gerrit/#/c/{{ change_id }}/{{ patch_set }} {% endif %}