alexkvak / teamcity-slack

TeamCity Slack plugin
MIT License
124 stars 23 forks source link

Unable to get a positive result with the "try it" functionality #25

Closed suntsu42 closed 6 years ago

suntsu42 commented 6 years ago

Hi, Version used: 1.1.5 I've configured slack according to the documentation, including the oAuth token. It even seems to be connected with slack, since when i'm entering a non existing channel, i get an error, and if the channel exist, i'm able to save the configuration.

Configuration: image

But when the build is executed, no message is sent to slack. When i press the "Try it" button, which most likely should send a default message to the configured slack channel, it just spins forever: image

Any hints what's wrong here?

alexkvak commented 6 years ago

Please try to specify master as a branch name mask

suntsu42 commented 6 years ago

didn't work either. But when i set the branch name to (.*?) which is the regex patter for everything, then it works.

But the branch name is not shown in the slack channel. It just shows the branch name as unknown: image

alexkvak commented 6 years ago

Did you read #21 ?

suntsu42 commented 6 years ago

I still don't understand it.

alexkvak commented 6 years ago

Link was edited, now it works. Plugin takes branch name from TeamCity, if you don't see branch name in build history, plugin does not see it too.