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 <[email protected]>
>To: Kamal Ahmed <[email protected]>; "[email protected]"
><[email protected]>
>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: [email protected]
>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 [email protected].
>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
>
><html><body><html><head><meta content=3D"text/html; charset=3Dutf-8" http-e=
>quiv=3D"Content-Type"></head><body><div><div style=3D"font-family: Calibri,=
>sans-serif; font-size: 11pt;">I need more info, please post any info from t=
>he Jenkins logs as well as your content template.p<br><br><br>Sent from my =
>Windows Phone<br></div></div><hr><span style=3D"font-family: Tahoma,sans-se=
>rif; font-size: 10pt; font-weight: bold;">From: </span><span style=3D"font-=
>family: Tahoma,sans-serif; font-size: 10pt;">Kamal Ahmed</span><br><span st=
>yle=3D"font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;"=
>>Sent: </span><span style=3D"font-family: Tahoma,sans-serif; font-size: 10p=
>t;">3/5/2013 7:19</span><br><span style=3D"font-family: Tahoma,sans-serif; =
>font-size: 10pt; font-weight: bold;">To: </span><span style=3D"font-family:=
>Tahoma,sans-serif; font-size: 10pt;">[email protected]</spa=
>n><br><span style=3D"font-family: Tahoma,sans-serif; font-size: 10pt; font-=
>weight: bold;">Subject: </span><span style=3D"font-family: Tahoma,sans-seri=
>f; font-size: 10pt;">email-ext Exception while replacing BUILD_LOG_EXCERPT.=
>Please report this as a bug. ]] {{ java.lang.NullPointerException }}</span=
>><br><br></body></html><div style=3D"color:#000; background-color:#fff; fon=
>t-family:verdana, helvetica, sans-serif;font-size:10pt"><div>Hi,</div><div>=
><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 13.3333px; font-fam=
>ily: verdana,helvetica,sans-serif; background-color: transparent; font-styl=
>e: normal;">If i use ${BUILD_LOG_EXCERPT} , in the Default Content, with je=
>nkins 1.5, i get the following in the email.</div><div style=3D"color: rgb(=
>0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; =
>background-color: transparent; font-style: normal;"><br></div><div style=3D=
>"color: rgb(0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,=
>sans-serif; background-color: transparent; font-style: normal;">[[ Exceptio=
>n while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]]
>{{ java.lang.NullPointerException }} <br></div><div style=3D"color: rgb(0, =
>0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; bac=
>kground-color: transparent; font-style: normal;"><br></div></div></body></h=
>tml>
>
><p></p>
>
>-- <br />
>You received this message because you are subscribed to the Google Groups &=
>quot;Jenkins Users" group.<br />
>To unsubscribe from this group and stop receiving emails from it, send an e=
>mail to [email protected].<br />
>For more options, visit <a href=3D"https://groups.google.com/groups/opt_out=
>">https://groups.google.com/groups/opt_out</a>.<br />
> <br />
> <br />
>
>--1869880960-1242272882-1362493139=:18508--
>
>
>
--
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/groups/opt_out.