diff options
author | Daniel Smith <[email protected]> | 2025-01-20 13:56:51 +0100 |
---|---|---|
committer | Daniel Smith <[email protected]> | 2025-02-24 10:04:35 +0000 |
commit | d31c4e4313f266e39ddf9b26113d6bdea3fe7bb0 (patch) | |
tree | e787825e5ce72c0768f76c07677a9673d71900e2 | |
parent | 8cdfcd9473c297c25bd2989ab88e4e663ba562fe (diff) |
Change-Id: Ia9c0a57e091d3e9c58f2126c602316e79132daed
Reviewed-by: Daniel Smith <[email protected]>
-rw-r--r-- | tools/teams_connector.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/teams_connector.py b/tools/teams_connector.py index 7f84d6d..75d502e 100644 --- a/tools/teams_connector.py +++ b/tools/teams_connector.py @@ -84,10 +84,10 @@ class TeamsConnector: f"*") # Retrieve an AI analysis of the failure from gerrit-webhook.ci.qt.io:8092/runAnalysis?change_id=... change_id = f"{repo.id}~{repo.branch}~{repo.proposal.change_id}" - analysis_url = f"http://gerrit-webhook.ci.qt.io:8092/runAnalysis?change_id={change_id}" + analysis_url = f"http://gerrit-webhook.ci.qt.io:8092/runAnalysis?changeId={change_id}" analysis = requests.get(analysis_url, timeout=90) if analysis.status_code == 200: - message_card.addSection(msteams.cardsection().text(analysis.text)) + message_card.addSection(msteams.cardsection().text(analysis.json()["string_output"])) message_card.addSection( msteams.cardsection().linkButton(*gerrit_link_maker(self.config, repo))) message_card.send() |