Tim Andersson has proposed merging 
~andersson123/autopkgtest-cloud:test-request-link-to-run into 
autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/472558
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of 
~andersson123/autopkgtest-cloud:test-request-link-to-run into 
autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/request/app.py b/charms/focal/autopkgtest-web/webcontrol/request/app.py
index 4fca679..2a5526f 100644
--- a/charms/focal/autopkgtest-web/webcontrol/request/app.py
+++ b/charms/focal/autopkgtest-web/webcontrol/request/app.py
@@ -261,7 +261,6 @@ def index_root():
             os.path.expanduser("~/github-status-credentials.txt"),
             params["package"],
         )
-
         success = SUCCESS.format(
             EMPTY.join(ROW.format(key, val) for key, val in params.items())
         )
@@ -305,6 +304,11 @@ def index_root():
             )
             params["Result history"] = '<a href="{}">{}</a>'.format(url, url)
             params["UUID"] = uuid
+            params["Result url"] = os.path.join(
+                request.host_url,
+                "run",
+                uuid,
+            )
         success = SUCCESS.format(
             EMPTY.join(
                 ROW.format(key, val) for key, val in sorted(params.items())
-- 
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help   : https://help.launchpad.net/ListHelp

Reply via email to