Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does teamcity-slack support svn as a repository? #115

Open
matfricker opened this issue Oct 12, 2020 · 8 comments
Open

Does teamcity-slack support svn as a repository? #115

matfricker opened this issue Oct 12, 2020 · 8 comments

Comments

@matfricker
Copy link

Based on the following question on your trouble-shooter guide:
Q: I checked the option to send private messages and added the {mention} placeholder to the message, but neither the message was send to the slack user nor the name was mentioned in the slack message!

I was wondering if svn is supported? Our svn server is hooked up via windows authentication and the user / author that is used is a name and not the email address.

Do you have any suggestions?

@alexkvak
Copy link
Owner

Plugin uses TeamCity API and gets the user and other VCS information from this API.

So does TeamCity recognize the commit users in build history? Are they shown in the UI?

@matfricker
Copy link
Author

Yes, TeamCity does recognise commit users, but the commit username is not an email address.

I do have an email address in my TeamCity profile and username is not an email address.

Is the email address case-sensitive? My slack profile email address starts with a capital letter.

@alexkvak
Copy link
Owner

It does not matter. The VCS commit author should be associated with TeamCity user.

About case-sensitivity – yes it can be an issue. Try to use same case in TeamCity and Slack user info

@matfricker
Copy link
Author

I can confirm that, email address in teamcity and slack are both the same case now. Have not received a DM message on fail, but the {mention} does have my handle. So it is picking up the user.

@alexkvak
Copy link
Owner

alexkvak commented Oct 20, 2020

Is Personal notifications enabled at global config page enabled?

изображение

@matfricker
Copy link
Author

Yes that is enabled.

@alexkvak
Copy link
Owner

If commit author's email cannot be found in Slack, the plugin should log this as error.

Please take a look at teamcity-server.log in Administration -> Diagnostics -> Server Logs

@matfricker
Copy link
Author

Apologies for the delay in responding...

I have checked server logs and can see an entry there that a message was sent to the correct email address.

I guess I was expecting something to popup in my direct messages but it doesn't. I can see my handle when the build fails under Status: failed. I get notifications from the channel, but all notifications (Started, Success & Failures).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants