Not able to get Jenkins notification in teams channel with workflow "Post to a channel when a webhook request is received"

Mahesh Belkhude 0 Reputation points
2024-09-20T10:35:18.55+00:00

I am creating a workflow in my Microsoft Teams channel to post to a channel when a webhook request is received. After creating it, I received the webhook URL. In the next step, I set up a "Post card to channel" action in Microsoft Teams when the webhook request is received and filled in the details. However, I am still not receiving any notifications in Teams.

Afterward, I tried using the "Post in a chat or channel" option instead of "Post card to channel" in Microsoft Teams, and I configured it with the following message: Build #@{triggerOutputs()?['build_number']} finished with status: @{triggerOutputs()?['build_status']}. Remarks: @{triggerOutputs()?['build_description']}.

Even then, I am not receiving any notifications in Teams. The notification only displays "Build," "finished with status," and "Remarks," but without the actual build number or remarks.

Could someone please help me set up Jenkins notifications in Microsoft Teams using the workflow option?

Thanks in advance!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,039 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,230 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.