What version of email-ext do you have installed? On Fri, Oct 24, 2014 at 11:31 AM, Sam T <[email protected]> wrote:
> I have inherited a system that runs groovy to generate emails as a post > build action. The system has not been changed at all and the groovy > postbuild action and email has been working without any errors for over a > year. > All of a sudden emails stop being sent from those jobs that have groovy > post build email generation. I have seen the following error in the jenkins > log: > > SEVERE: Exception on init file: java.io.FileNotFoundException: > /home/jenkins/email-templates/groovy/init.groovy (No such file or directory) > Warning: Caused by: java.lang.AssertionError: class > org.jvnet.hudson.plugins.groovypostbuild.GroovyScriptPath is missing its > descriptor in public java.util.List > org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder.getClasspath(). > See > https://wiki.jenkins-ci.org/display/JENKINS/My+class+is+missing+descriptor > at > hudson.model.Descriptor$PropertyType.getItemTypeDescriptorOrDie(Descriptor.java:202) > > The file /home/jenkins/email-templates/groovy/init.groovy never existed on > this server. I have examined all of our full backups of the /home/jenkins > directory. But I still see jenkins logs a SEVERE error which is strange. > The Java stack trace is a "warning" but that may point to an issue. > > I have researched and I have seen posts that claim > /home/jenkins/email-templates/groovy/init.groovy is not even needed for > groovy postbuild and email generation. > I copied > ./plugins/email-ext/WEB-INF/classes/hudson/plugins/emailext/templates/groovy/foo.init.groovy > into /home/jenkins/email-templates/groovy/init.groovy and there is still no > email. > I have seen this bug regarding the groovy postbuild plugin > https://issues.jenkins-ci.org/browse/JENKINS-13024 > I will upgrade to version 1.8 which has fixed a similar problem and see > what happens. > > My question is: has anyone run into a similar issue and what was the steps > to fix it? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Website: http://earl-of-code.com -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
