diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2024-11-08 14:29:23 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2024-11-14 07:41:31 +0200 |
commit | 3b59e43cd876c552ed94f30ca5e342559bc5405f (patch) | |
tree | 2732fa27ea02f2fae34c0aaadde9639ead904b0e /mod/mod-ci-github.cxx | |
parent | a048473adae8fc9a803ccb3814d01199e626cbbf (diff) |
Add toolchain name to check_run details url
Diffstat (limited to 'mod/mod-ci-github.cxx')
-rw-r--r-- | mod/mod-ci-github.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx index 377db83..849e21c 100644 --- a/mod/mod-ci-github.cxx +++ b/mod/mod-ci-github.cxx @@ -1980,6 +1980,8 @@ namespace brep string ci_github:: details_url (const build& b) const { + // This code is based on build_force_url() in mod/build.cxx. + // return options_->host () + "/@" + b.tenant + "?builds=" + mime_url_encode (b.package_name.string ()) + @@ -1987,7 +1989,8 @@ namespace brep "&tg=" + mime_url_encode (b.target.string ()) + "&tc=" + mime_url_encode (b.target_config_name) + "&pc=" + mime_url_encode (b.package_config_name) + - "&th=" + mime_url_encode (b.toolchain_version.string ()); + "&th=" + mime_url_encode (b.toolchain_name) + '-' + + b.toolchain_version.string (); } optional<string> ci_github:: |