From 3b59e43cd876c552ed94f30ca5e342559bc5405f Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Fri, 8 Nov 2024 14:29:23 +0200 Subject: Add toolchain name to check_run details url --- mod/mod-ci-github.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mod/mod-ci-github.cxx') 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 ci_github:: -- cgit v1.1