[go: up one dir, main page]

Skip to content

Microsoft Teams notifications Integration setting "Notify only broken pipelines" does not generate teams notification

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The Microsoft Teams notifications Integration setting of "Notify only broken pipelines" does not generate a teams channel notification when a failed pipeline is generated. Other settings e.g. "An issue is created", "A pipeline status changes" do generate the expected teams channel notification

Steps to reproduce

  • Create new project with code expected to fail
test:
  script:
    - exit(1)
  tags:
    - saas-linux-small-amd64
  • In the new projects 'Settings' > 'Integrations' > Microsoft Teams notifications' point webhook to a working teams channel and select "Notify on broken pipelines" only
  • Run the pipeline and observe pipeline failure
  • Verify no teams notification received in channel
  • In the Microsoft teams notifications deselect "Notify on broken pipelines" and select "A pipeline status changes"
  • Run the pipeline and observe failure
  • Verify teams notification received in channel

Example Project

Sorry, can't point to corporate teams channel in public project

What is the current bug behavior?

No teams notification received in channel

What is the expected correct behavior?

Teams notification received in channel

Relevant logs and/or screenshots

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Results of GitLab application Check

Possible fixes

Selecting "A pipeline status changes" does generate the successful teams channel notification. However this option also doesn't function as expected as it generates a notification on all pipeline runs regardless of state change

Edited by 🤖 GitLab Bot 🤖