slack-integration plugin won't work!

145 views
Skip to first unread message

lfree

unread,
Jul 6, 2017, 4:14:47 AM7/6/17
to Repo and Gerrit Discussion
I have installed this slack-integration plugin following its description step by step. But nothing was post to slack channel. 
Could any buddy give me some hints about this? 
Many thanks in advance!

lfree

unread,
Jul 6, 2017, 5:05:24 AM7/6/17
to Repo and Gerrit Discussion
Sorry for this disturbance!
The reason is misspelling of the slack channel name  in the project.config file.
After its corrected, the plugin works fine!

Matthew Montgomery

unread,
Jul 6, 2017, 9:41:28 AM7/6/17
to lfree, Repo and Gerrit Discussion
Good to hear! I am glad you were able to figure out what was wrong and get it working.

Cheers,

Matthew

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

lfree

unread,
Jul 6, 2017, 9:23:51 PM7/6/17
to Repo and Gerrit Discussion, xh.dre...@gmail.com
:)

oleksandr...@gmail.com

unread,
Aug 8, 2017, 7:25:38 AM8/8/17
to Repo and Gerrit Discussion, xh.dre...@gmail.com
Hi i have a trouble when i build slack-integration
And then it not works

Can you help?


четверг, 6 июля 2017 г., 16:41:28 UTC+3 пользователь Matthew Montgomery написал:

Matthew Montgomery

unread,
Aug 8, 2017, 10:59:44 AM8/8/17
to oleksandr...@gmail.com, Repo and Gerrit Discussion, xh.dre...@gmail.com
What do you have in your config for the "ignore" pattern?

--
Matthew

oleksandr...@gmail.com

unread,
Aug 8, 2017, 1:54:38 PM8/8/17
to Repo and Gerrit Discussion, oleksandr...@gmail.com, xh.dre...@gmail.com
I try without this property and with default value ignore = "^WIP.*".
Cause i didn't completely understand for what this option

вторник, 8 августа 2017 г., 17:59:44 UTC+3 пользователь Matthew Montgomery написал:

oleksandr...@gmail.com

unread,
Aug 8, 2017, 1:55:59 PM8/8/17
to Repo and Gerrit Discussion, oleksandr...@gmail.com, xh.dre...@gmail.com
And this warn appears when i use mvn install or mvn package is't normal?

вторник, 8 августа 2017 г., 17:59:44 UTC+3 пользователь Matthew Montgomery написал:

Matthew Montgomery

unread,
Aug 8, 2017, 2:17:46 PM8/8/17
to oleksandr...@gmail.com, Repo and Gerrit Discussion
Yes that output is normal when building. What you are seeing is a unit test that is verifying things still work when an invalid ignore pattern is provided.

See com.cisco.gerrit.plugins.slack.message.PatchSetCreatedMessageGeneratorTest#handlesInvalidIgnorePatterns

What is not working after you have installed the plugin?

--
Matthew 

oleksandr...@gmail.com

unread,
Aug 8, 2017, 2:29:32 PM8/8/17
to Repo and Gerrit Discussion, oleksandr...@gmail.com

I have this error in logs



вторник, 8 августа 2017 г., 21:17:46 UTC+3 пользователь Matthew Montgomery написал:

Matthew Montgomery

unread,
Aug 8, 2017, 2:33:08 PM8/8/17
to oleksandr...@gmail.com, Repo and Gerrit Discussion
Could you share what version of Gerrit you are running and what version of the plugin? That error shows an expected field isn't being found in the event.

--
Matthew

oleksandr...@gmail.com

unread,
Aug 8, 2017, 2:40:31 PM8/8/17
to Repo and Gerrit Discussion, oleksandr...@gmail.com
Gerrit Code Review (2.12.2)
Plugin last version from master branch

вторник, 8 августа 2017 г., 21:33:08 UTC+3 пользователь Matthew Montgomery написал:

Matthew Montgomery

unread,
Aug 8, 2017, 2:43:16 PM8/8/17
to oleksandr...@gmail.com, Repo and Gerrit Discussion
The master branch is currently setup to target 2.14. Please either build from the stable-2.12 branch or grab the pre-built artifact from https://gerrit-ci.gerritforge.com/view/Plugins-stable-2.12/job/plugin-slack-integration-mvn-stable-2.12/

This should get you going on Gerrit 2.12.2.

--
Matthew

oleksandr...@gmail.com

unread,
Aug 8, 2017, 2:46:23 PM8/8/17
to Repo and Gerrit Discussion, oleksandr...@gmail.com
Ok i will try it later and tell you the result. Thank you for your reply.

вторник, 8 августа 2017 г., 21:43:16 UTC+3 пользователь Matthew Montgomery написал:

oleksandr...@gmail.com

unread,
Aug 8, 2017, 3:40:25 PM8/8/17
to Repo and Gerrit Discussion, oleksandr...@gmail.com
It works thank you for your consultation. And thank you for this great plugin. Have a nice day.
With best regards,
Oleksandr Haimanov 

вторник, 8 августа 2017 г., 21:43:16 UTC+3 пользователь Matthew Montgomery написал:

Matthew Montgomery

unread,
Aug 8, 2017, 3:48:30 PM8/8/17
to oleksandr...@gmail.com, Repo and Gerrit Discussion
Great to hear!

--
Matthew
Reply all
Reply to author
Forward
0 new messages