diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2025-01-22 10:32:10 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2025-01-22 12:01:15 +0200 |
commit | f2cc61de479448a227136ee278941413560ecffc (patch) | |
tree | 8d9ae58c8cb6cc314888e636ea8b0efd0dad642f /mod/mod-ci.cxx | |
parent | b0515694b711c1ff57c2fc636e066d8639fd6da6 (diff) |
Add support for tenant_service_build_built::build_completed() notification
Diffstat (limited to 'mod/mod-ci.cxx')
-rw-r--r-- | mod/mod-ci.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mod/mod-ci.cxx b/mod/mod-ci.cxx index 16ec5a7..85c00c6 100644 --- a/mod/mod-ci.cxx +++ b/mod/mod-ci.cxx @@ -496,8 +496,8 @@ build_building (const string& /*tenant_id*/, }; } -function<optional<string> (const string& tenant_id, - const brep::tenant_service&)> brep::ci:: +function<pair<optional<string>, bool> (const string& tenant_id, + const brep::tenant_service&)> brep::ci:: build_built (const string& /*tenant_id*/, const tenant_service&, const build& b, @@ -515,7 +515,8 @@ build_built (const string& /*tenant_id*/, b.toolchain_name + '/' + b.toolchain_version.string ()); - return ts.data ? *ts.data + ", " + s : s; + return make_pair ( + optional<string> (ts.data ? *ts.data + ", " + s : s), false); }; } |