diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2019-05-02 12:01:38 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-05-03 12:03:52 +0000 |
commit | 9f65834ede3dc27716ff0de154a23551d155dc18 (patch) | |
tree | a36e36177bd0d5c7eb314973a6e8895783109164 /templates/tests | |
parent | 639d305a82d80cbee0b9fd2d25b6020f3ad9e003 (diff) |
utils/agljobtemplate.py: Fix APPURL generation
The generated APPURL was invalid:
- it needed to be always using ci
- it missed branch and arches path
This patch move the generation of the application url in the jinja file
for accessing the new sdk_arch
Bug-AGL: SPEC-1850
Change-Id: Ie3ffff5f6181fdc89c3ebbd41078e4d60a06992b
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'templates/tests')
-rw-r--r-- | templates/tests/application-lifecycle.jinja2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/tests/application-lifecycle.jinja2 b/templates/tests/application-lifecycle.jinja2 index 24cd26b..dc4f1b8 100644 --- a/templates/tests/application-lifecycle.jinja2 +++ b/templates/tests/application-lifecycle.jinja2 @@ -8,4 +8,8 @@ path: test-suites/short-smoke/application-lifecycle.yaml name: application-lifecycle parameters: +{%- if APPURL != 'automatic' %} APPURL: "{{ APPURL }}" +{%- else %} + APPURL: "{{app_url_base}}/{{ app_changeid }}/{{ app_patchset }}/{{ vcs_branch }}/{{ sdk_arch }}" +{%- endif %} |