Hyperlink in notification email incorrect
I have hyperlink in notification email pointing to our previous TeamCity Server (which we have since migrated)..
Based on https://confluence.jetbrains.com/display/TCD10/Configuring+Server+URL, I checked the the file at <TeamCity data directory>/config/main-config.xml, the rootURL is correct. Then I checked the Administration | Global Settings page, it is pointing to correct url.
What do I need to do to make the hyperlink in email notification point to correct url?
Example of email notification. The hyperlink #60803 points to incorrect URL.
Build Code Build :: Code :: Merlot TRUNK #60803 failed (Compilation error: Code\Report\Merlot.Aero.Report.csproj (new); compilation error: ...
Please sign in to leave a comment.
Hi John,
Are you using the default notification or have you modified somehow the template? https://confluence.jetbrains.com/display/TCD10/Customizing+Notifications
Hi Denis,
My the latest notification I receive today for a successful build shows correct URL. I will continue to monitor to see if the old url still appear.
The template is default template. My Settings & Tools / Notification Rules is also default All users.
This current TeamCity server was migrated from another TeamCity server. We have migrated for more than 1 year. Could it be that the setting of the rootUrl is not refreshed for some reason?
The wrong link was: http://build.mycompany.com:9999/viewLog.html?buildId=60042&buildTypeId=bt35 (which is the old server link)
This should be: http://build2.mycompany.com:24111/viewLog.html?buildId=12465&buildTypeId=CodeBuild_MerlotTrunkOpt
Hi Denis,
I received a build notification this morning. I checked the hyperlink, it is pointing to the old server. Can I have your email to send the notification email and screen capture to you?