Hudson builds failing - hudson.plugins.mercurial.MercurialSCM cannot be cast to hudson.scm.SubversionSCM
I am currently getting the following error when I run a build from Hudson:
ERROR: Publisher hudson.tasks.Mailer aborted due to exception java.lang.ClassCastException: hudson.plugins.mercurial.MercurialSCM cannot be cast to hudson.scm.SubversionSCM
Our builds were working fine last Thursday and since Friday of last week they have been failing due to the above error.
I can run the build locally on machien and the build server through the console with no issues.
Any help would be greatly appreciated.
This issue was fix by updating the mailer plugin in Hudson.