Skip to content

dbf256/teamcity-password-reset-plugin

Repository files navigation

Password reset Teamcity plugin

This plugin allows you to reset your password in Teamcity. Just click "Reset password" at login screen.

Install

  • Build plugin from source or download binary
  • Shut down Teamcity
  • Copy plugin to %TEAMCITY_DATA_PATH%\plugins directory
  • Add email configuration: to the root element (<server>) in %TEAMCITY_DATA_PATH%\config\main-config.xml add this section:
<password-reset-plugin><smtp  port="<port>" host="<host>" username="<email login>" password="<email password>" fromAddress="<from address>" tls="<true or false>" ssl="<true or false>"/></password-reset-plugin>

for example

Plain SMTP

<password-reset-plugin><smtp  port="25" host="smtp.mailgun.com" username="[email protected]" password="trustno1" fromAddress="[email protected]" /></password-reset-plugin>

TLS

<password-reset-plugin><smtp  port="587" host="smtp.gmail.com" username="[email protected]" password="trustno1" fromAddress="[email protected]" tls="true" /></password-reset-plugin>

SSL

<password-reset-plugin><smtp  port="465" host="smtp.yandex.ru" username="[email protected]" password="trustno1" fromAddress="[email protected]" ssl="true" /></password-reset-plugin>

Don't like this manual setup? I don't like it too! But it is not possible (or I don't know how) to fetch global email settings from Teamcity using Teamcity open API.

  • Start TeamCity

Troubleshooting

The most common error is invalid SMTP configuration. Check teamcity-server.log for details.

If log file contains timeout exceptions it is possible that you need to enable tls or ssl connection.

About

TeamCity password reset plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages