[JIRA] (JENKINS-59149) 'Test Connection' succesfully sends a message, but build-event notifications don't get sent

0 views
Skip to first unread message

dbocksteger@outlook.de (JIRA)

unread,
Aug 30, 2019, 2:26:02 AM8/30/19
to jenkinsc...@googlegroups.com
Daniel Bocksteger updated an issue
 
Jenkins / Bug JENKINS-59149
'Test Connection' succesfully sends a message, but build-event notifications don't get sent
Change By: Daniel Bocksteger
Summary: ' Text Test Connection ' succesfully sends a message, but ' build succeed' and other -event notifications don't get sent
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

dbocksteger@outlook.de (JIRA)

unread,
Sep 2, 2019, 1:32:02 AM9/2/19
to jenkinsc...@googlegroups.com
Daniel Bocksteger updated an issue
We switched https to on last week and since we did, Jenkins is not posting Rocket.Chat Notifications for the specified events anymore.

Furthermore, both Test Connection buttons display "Success", the button in the Job sends out a notification as well.

What could cause the Plugin, to not send the specified notifications?

Some output from the {{jenkins.err.log}} file on our machine.

 
{code:java}
2019-08-30 12:08:30.625+0000 [id=60633] INFO j.p.r.RocketChatNotifier#perform: Invoking Completed...
2019-08-30 12:08:30.625+0000 [id=60633] INFO j.p.r.
RocketChatNotifier#perform: Invoking Completed...2019-08-30 12:08:30.625+0000 [id=60633] INFO j.p.r. ActiveNotifier#completed: Build completed. Checking for rocket notifiers
2019-08-30 12:08:30.643+0000 [id=60633] INFO j.p.r.ActiveNotifier#completed: Could not send rocket message{code}

dbocksteger@outlook.de (JIRA)

unread,
Sep 2, 2019, 1:32:03 AM9/2/19
to jenkinsc...@googlegroups.com
Daniel Bocksteger updated an issue
We switched https to on last week and since we did, Jenkins is not posting Rocket.Chat Notifications for the specified events anymore.

 

Furthermore, both Test Connection buttons display "Success", the button in the Job sends out a notification as well.

 

What could cause the Plugin, to not send the specified notifications?

Some output from the {{jenkins.err.log}} file on our machine.

 
{code:java}
2019-08-30 12:08:30.625+0000 [id=60633] INFO j.p.r.RocketChatNotifier#perform: Invoking Completed...
2019-08-30 12:08:30.625+0000 [id=60633] INFO j.p.r.RocketChatNotifier#perform: Invoking Completed...2019-08-30 12:08:30.625+0000 [id=60633] INFO j.p.r.ActiveNotifier#completed: Build completed. Checking for rocket notifiers

2019-08-30 12:08:30.643+0000 [id=60633] INFO j.p.r.ActiveNotifier#completed: Could not send rocket message{code}

dbocksteger@outlook.de (JIRA)

unread,
Sep 2, 2019, 1:33:01 AM9/2/19
to jenkinsc...@googlegroups.com
Daniel Bocksteger updated an issue
We switched https to on last week and since we did, Jenkins is not posting Rocket.Chat Notifications for the specified events anymore.

Furthermore, both Test Connection buttons display "Success", the button in the Job sends out a notification as well.

What could cause the Plugin, to not send the specified notifications?

Some output from the {{jenkins.err.log}} file on our machine.

 
{code:java}
2019-08-30 12:08:30.625+0000 [id=60633] INFO j.p.r.RocketChatNotifier#perform: Invoking Completed...
2019-08-30 12:08:30.625+0000 [id=60633] INFO j.p.r.ActiveNotifier#completed: Build completed. Checking for rocket notifiers
2019-08-30 12:08:30.643+0000 [id=60633] INFO j.p.r.ActiveNotifier#completed: Could not send rocket message{code}

hypery2k@web.de (JIRA)

unread,
Sep 9, 2019, 2:10:05 AM9/9/19
to jenkinsc...@googlegroups.com
Martin Reinhardt started work on Bug JENKINS-59149
 
Change By: Martin Reinhardt
Status: Open In Progress

hypery2k@web.de (JIRA)

unread,
Sep 9, 2019, 2:11:02 AM9/9/19
to jenkinsc...@googlegroups.com

hypery2k@web.de (JIRA)

unread,
Sep 9, 2019, 2:11:03 AM9/9/19
to jenkinsc...@googlegroups.com
Martin Reinhardt commented on Bug JENKINS-59149
 
Re: 'Test Connection' succesfully sends a message, but build-event notifications don't get sent

mmmh really strange, I added more logging info which will be available in the next plugin version. Please check again and post the updated log info

hypery2k@web.de (JIRA)

unread,
Sep 9, 2019, 1:01:03 PM9/9/19
to jenkinsc...@googlegroups.com

Please retry with plugin version 1.4.4

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

dbocksteger@outlook.de (JIRA)

unread,
Sep 10, 2019, 7:27:02 AM9/10/19
to jenkinsc...@googlegroups.com

dbocksteger@outlook.de (JIRA)

unread,
Sep 10, 2019, 7:28:01 AM9/10/19
to jenkinsc...@googlegroups.com

dbocksteger@outlook.de (JIRA)

unread,
Sep 10, 2019, 7:50:02 AM9/10/19
to jenkinsc...@googlegroups.com
Daniel Bocksteger edited a comment on Bug JENKINS-59149
[~mreinhardt] it seemed to be working. But I have to set the "RocketChat URL" and the "Trust server cert" checkbox every single time I enter the job 's configuration. It's getting cleared every time.

Without resetting those values, it's only
working again! Seems to be fixed :) until the next configuration change.

Both the url and the checkbox are set globally, why are those values ignored?

dbocksteger@outlook.de (JIRA)

unread,
Sep 10, 2019, 7:50:03 AM9/10/19
to jenkinsc...@googlegroups.com
Daniel Bocksteger assigned an issue to Martin Reinhardt
 

Please take a further look on why the mentioned values getting reset.

Change By: Daniel Bocksteger
Assignee: Daniel Bocksteger Martin Reinhardt

dbocksteger@outlook.de (JIRA)

unread,
Sep 10, 2019, 7:50:08 AM9/10/19
to jenkinsc...@googlegroups.com

thomas.strohmeier@byteschneiderei.com (JIRA)

unread,
Sep 10, 2019, 12:38:03 PM9/10/19
to jenkinsc...@googlegroups.com
Thomas S. commented on Bug JENKINS-59149
 
Re: 'Test Connection' succesfully sends a message, but build-event notifications don't get sent

I have the same issue as Daniel Bocksteger. When I configure the notifier in the UI I also have to set RocketChat URL and Trust server cert on every job.

I discovered a other issue. I tried to configure the Notifier via the Jenkins Job DSL with the following example:

 

publishers {
    rocketChatNotifier {
        channel('#jenkins')
        rocketServerUrl("https://chatservername.com")
        trustSSL(true)
        notifySuccess(true)
        notifyFailure(true)
    }
}

and got the following error:

 
ERROR: (MyJob.groovy, line 42) No signature of method: rocketServerUrl() is applicable for argument types: (java.lang.String) values: [https://chatservername.com]
Possible solutions: attachments(), channel(), commitInfoChoice(), customMessage(), includeCustomMessage(), includeTestLog(), includeTestSummary(), notifyAborted(), notifyBackToNormal(), notifyFailure(), notifyNotBuilt(), notifyRepeatedFailure(), notifySuccess(), notifyUnstable(), rawMessage(), startNotification(), webhookToken(), webhookTokenCredentialId()

thomas.strohmeier@byteschneiderei.com (JIRA)

unread,
Oct 7, 2019, 5:14:43 AM10/7/19
to jenkinsc...@googlegroups.com

dbocksteger@outlook.de (JIRA)

unread,
Oct 8, 2019, 1:43:03 AM10/8/19
to jenkinsc...@googlegroups.com

Martin Reinhardt same question as Thomas Strohmeier sent yesterday. Is there any update on this issue? It's really annoying that the plugin is clearing the config every time you enter the Buildjob-Configs...

 

hypery2k@web.de (JIRA)

unread,
Oct 8, 2019, 5:59:02 AM10/8/19
to jenkinsc...@googlegroups.com

Currently I have no idea why this is happening, but any PR is highly welcome

dbocksteger@outlook.de (JIRA)

unread,
Oct 10, 2019, 1:46:02 AM10/10/19
to jenkinsc...@googlegroups.com

Martin Reinhardt I'm sorry, but I'm an iOS developer maintaining our Jenkins Buildserver. But I'm not a Jenkins plugin developer. It's really sad to see this kind of support for this Plugin. We really were exited to get notifications into our Rocket.Chat, but due to the issue above this is impossible at the moment.

hypery2k@web.de (JIRA)

unread,
Oct 10, 2019, 3:34:03 AM10/10/19
to jenkinsc...@googlegroups.com

I fully understand your issue. But I'm just maintaining this plugin in my spare time, so I'm getting not paid for this and currently not having much time for such projects. I tried to reproduce the issue, but wasn't able to get further on my dev machine after 2 hours due to other issues, currently.

Sorry for that.

hypery2k@web.de (JIRA)

unread,
Oct 11, 2019, 12:00:03 AM10/11/19
to jenkinsc...@googlegroups.com

hypery2k@web.de (JIRA)

unread,
Oct 11, 2019, 12:07:02 AM10/11/19
to jenkinsc...@googlegroups.com
Martin Reinhardt resolved as Fixed
 

Fixed in Version 1.4.6

Change By: Martin Reinhardt
Status: In Progress Resolved
Resolution: Fixed

dbocksteger@outlook.de (JIRA)

unread,
Oct 11, 2019, 12:57:02 AM10/11/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages