Looks like that's why the tokens are not getting replaced. You need to
figure out why you're getting that exception.


On Wed, Sep 25, 2013 at 3:33 PM, Maneesh M P <[email protected]>wrote:

> I am using the version : 
> 2.34<http://jenkins.hp10.us/pluginManager/plugin/email-ext/thirdPartyLicenses>
> Below is the log snippet for jenkins log.
>
> SEVERE: null
> hudson.remoting.ChannelClosedException: channel is already closed
>       at hudson.remoting.Channel.send(Channel.java:494)
>       at hudson.remoting.Request.call(Request.java:129)
>       at hudson.remoting.Channel.call(Channel.java:672)
>       at hudson.EnvVars.getRemote(EnvVars.java:212)
>       at hudson.model.Computer.getEnvironment(Computer.java:880)
>       at 
> jenkins.model.CoreEnvironmentContributor.buildEnvironmentFor(CoreEnvironmentContributor.java:28)
>       at hudson.model.Run.getEnvironment(Run.java:2045)
>       at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:931)
>       at 
> org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:229)
>       at 
> hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:63)
>       at 
> hudson.plugins.emailext.ExtendedEmailPublisher.getRecipientList(ExtendedEmailPublisher.java:653)
>       at 
> hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:478)
>       at 
> hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:270)
>       at 
> hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:262)
>       at 
> hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:222)
>       at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774)
>       at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
>       at hudson.model.Run.execute(Run.java:1620)
>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>       at hudson.model.ResourceController.execute(ResourceController.java:88)
>       at hudson.model.Executor.run(Executor.java:237)
> Caused by: java.io.IOException: Unexpected termination of the channel
>       at 
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
> Caused by: java.io.EOFException
>       at 
> java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2595)
>       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)
>       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
>       at hudson.remoting.Command.readFrom(Command.java:92)
>       at 
> hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
>       at 
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
>
> Sep 25, 2013 11:43:16 AM hudson.plugins.emailext.plugins.ContentBuilder 
> transformText
> SEVERE: null
>
>
> On Wednesday, September 25, 2013 3:16:55 PM UTC-7, slide wrote:
>
>> Any messages in the Jenkins logs? Also, what versions of email-ext and
>> token-macro do you have? Also, what version of Jenkins?
>>
>>
>>
>>
>> On Wed, Sep 25, 2013 at 2:00 PM, Maneesh M P <[email protected]> wrote:
>>
>>> Our jenkins server got reboot today for some reason, after that we
>>> started getting mails with no contents and subject also not substituting
>>> any value
>>>
>>> PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!
>>>
>>>
>>> Please see the attached screenshot for more information
>>> Any help in this regard will be highly appreciated.
>>>
>>> PS: everything was working fine before the reboot :(
>>> Thanks,
>>> Maneesh
>>>
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jenkinsci-de...@**googlegroups.com.
>>>
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>
>>
>>
>> --
>> Website: http://earl-of-code.**com <http://earl-of-code.com>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" 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.
>



-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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.

Reply via email to