I also upgraded Email-Ext and it seems all file sin the template are gone!
Any idea how to get them back ?
jenkins.log
Mar 5, 2013 11:08:53 AM hudson.model.Run execute
INFO: JASPER-SERVER #20 main build action completed: SUCCESS
Mar 5, 2013 11:08:53 AM hudson.plugins.emailext.plugins.content.ScriptContent
createEngine
SEVERE: Exception on init file: java.io.FileNotFoundException:
/var/lib/jenkins/email-templates/groovy/init.groovy (No such file or directory)
Mar 5, 2013 11:08:53 AM hudson.plugins.emailext.plugins.ContentBuilder
replaceTokensWithContent
SEVERE: Exception thrown while replacing ${SCRIPT,groovy="cust"}
groovy.lang.GroovyRuntimeException: Failed to parse template script (your
template may contain an error or be trying to use expressions not currently
supported): startup failed:
SimpleTemplateScript1.groovy: 146: expecting '}', found '' @ line 146, column
40.
/* Generated by SimpleTemplateEngine */
^
1 error
at
groovy.text.SimpleTemplateEngine.createTemplate(SimpleTemplateEngine.java:125)
at groovy.text.TemplateEngine.createTemplate(TemplateEngine.java:38)
at groovy.text.TemplateEngine$createTemplate.call(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at Script1.run(Script1.groovy:19)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:650)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:636)
at
hudson.plugins.emailext.plugins.content.ScriptContent.renderContent(ScriptContent.java:144)
at
hudson.plugins.emailext.plugins.content.ScriptContent.getContent(ScriptContent.java:100)
at
hudson.plugins.emailext.plugins.ContentBuilder.replaceTokensWithContent(ContentBuilder.java:119)
at
hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:92)
at
hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:674)
at
hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:469)
at
hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:304)
at
hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:296)
at
hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:256)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810)
at
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:785)
at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
at hudson.model.Run.execute(Run.java:1601)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
>
> From: Alex Earl
>To: Kamal Ahmed ; "jenkinsci-users@googlegroups.com"
>
>Sent: Tuesday, March 5, 2013 10:45 AM
>Subject: RE: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please
>
>report this as a bug. ]] {{ java.lang.NullPointerException }}
>MIME-Version: 1.0
>Content-Type: multipart/alternative;
>boundary="1869880960-1242272882-1362493139=:18508"
>
>--1869880960-1242272882-1362493139=:18508
>Content-Type: text/plain; charset="utf-8"
>Content-Transfer-Encoding: 7bit
>
>I need more info, please post any info from the Jenkins logs as well as
>your content template.p
>
>
>Sent from my Windows Phone
>From: Kamal Ahmed
>Sent: 3/5/2013 7:19
>To: jenkinsci-users@googlegroups.com
>Subject: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please
>report this as a bug. ]] {{ java.lang.NullPointerException }}
>Hi,
>
>If i use ${BUILD_LOG_EXCERPT} , in the Default Content, with jenkins
>1.5, i get the following in the email.
>
>[[ Exception while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]]
>{{ java.lang.NullPointerException }}
>
>--
>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 jenkinsci-users+unsubscr...@googlegroups.com.
>For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>--1869880960-1242272882-1362493139=:18508
>Content-Type: text/html; charset="utf-8"
>Content-Transfer-Encoding: quoted-printable
>
>quiv=3D"Content-Type">sans-serif; font-size: 11pt;">I need more info, please post