Gerrit trigger trouble with ref-update - jenkins

Gerrit Trigger 2.32.0
I configuration "Trigger on" with "Ref Updated" to support push event.But I find when I reply on the pathset with comment, Ref Updated is triggered. Param GERRIT_REFNAME is refs/changes/96/996/meta.
I don't know how to filtered it to make only push event triggered by "Ref Updated" event.

Related

Datadog alerts | Slack notifications

I have set up event-based alerting on Datadog and notifications on slack.
I am receiving 2 events triggered this monitor, here is the last one.
I want both events' data to show, not just the last one.
Alert screenshot
Can someone help me here, please?
I did not find anything as of now

Jenkins stop "build back to normal" notification

I have a question around Jenkins free style job. We're using "Email notification" part of post-build action. So whenever there is a failure, it triggers an email. However it sends another email when the failed job runs to success. I want to stop that. I don't want any email wherever the status of job changes. I know that is possible in pipeline, but is it possible in freestyle job?
It is not possible with "Email notification" from Mailer plugin.
Altough, it exist Email-Ext plugin which allows a broader set of customizations for email notifications.
For instance, adding an "Editable Email Notification" post-action:

How to send Jira to Slack channel "Ready for QA" notification

I need to post Jira notifications to a slack channel. The condition is any Jira ticket that moves to "Ready for QA" status should be notified in the slack channel. I setup a webhook already where JQL is set to Status Ready for QA. It didn't work.
You can use the custom event notification create an event and then create a post function in your transition before the Ready for QA status change. please check this link to see how to configure it : https://confluence.atlassian.com/jirakb/configure-a-custom-event-notification-for-a-specific-jira-workflow-transition-or-status-720831525.html

Mandrill webhooks: How to get notifications about successful delivery?

I have webhooks configured for "send", "hard_bounce" and "soft_bounce".
At 15:12 I got an event from mandrill that email message was hard
bounced.
At 15:14 I got an event from mandrill that the very same
email message was sent.
messages.info API call says that the state of this message is "bounced".
Why mandrill behaves like that? Maybe it's a bug?
If it's not a bug then how to get notifications about successful delivery?
How to contact mandrill and file a bug report? I didn't find any place I could do that.
Update (20.04.2015)
Can you say that mail got delivered, if it contains positive smtp_events and state is sent?
You actually cannot get a webhook notification for when the email is delivered through Mandrill.
The only way of checking if an email has been delivered is to poll Mandrill (with the message/info.json API). To see if the message is delivered you have to check the smtp_events and look for an event with diag starting with 250.

Amazon SQS Queue is not receiving messages

Our Amazon SQS Queue is not receiving messages from Amazon MWS for the AnyOfferChanged notification.
We send a test notification and this is sent to the Queue and available when we get the notification.
We have set up two AWS accounts, we are using one AWS account to register the queue destination and create the subscription to AnyOfferChanged. The other AWS account gets the test notifications from our Queue successfully.
We can see that the competitors of the merchant have changed their price for a listing, but no notifications have been sent to us.
Has anyone encountered this issue?
Sounds like you've done most of the things correctly (registering destination and creating subscription). Have you given Amazon themselves permission to write to the SQS queue?
On the SQS page in AWS Console, select the queue
In the pane that appears below, click on the Permissions tab
Click on the Edit pencil and give the Principal value "437568002678" for Amazon
Select some Actions (would depend on your use; I've used 'SendMessage' and 'GetQueueAttributes')
Save
That "Principal" value I got from this PDF:
Hope that sorts it out!

Resources