lummerland / hangouts-notification-for-bamboo

Send build notifications to your Google Hangouts chat
GNU General Public License v3.0
0 stars 4 forks source link

Deployment notifications seam to be broken #6

Open db-it opened 2 years ago

db-it commented 2 years ago

Plan notifications work fine, but no message appears in Google Chat if a notification for a deployment with type one of DeploymentFinishedNotification, DeploymentStartedAndFinishedNotification, DeploymentFailedNotification is configured.

Configuration example:

.notifications(new Notification()
    .type(new DeploymentStartedAndFinishedNotification())
    .recipients(new AnyNotificationRecipient(new AtlassianModule("org.lummerland.bamboo.hangouts-notification:recipients.hangouts"))
    .recipientString("webhook-url")));

This notification config on the other hand works with the same webhook on a build plan:

.notifications(new Notification()
    .type(new PlanFailedNotification())
    .recipients(new AnyNotificationRecipient(new AtlassianModule("org.lummerland.bamboo.hangouts-notification:recipients.hangouts"))
    .recipientString("webhook-url")));

Bamboo version: 8.0.4