You need a space before format, also why are you setting the format to
empty string.
On May 26, 2013 4:07 AM, "Vladimir Zak" <zakvladi...@gmail.com> wrote:

> Hi,
> I have the same problem. The strings are not replaced by URl for example -
> $BUILD_URL is not replaced.
>
> In subjects it is replaced but NOT replaced in the other places.
>
> zakyn
>
> $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!$PROJECT_URL
> $BUILD_URL <http://$BUILD_URL/artifact/Installation/InstallationKit> Tests
>
> $FAILED_TESTS
>
> Changes  [%a] %m %p${CHANGES,format=" "}
>
>
>
>
>
> 2013/4/24 windycity <jji...@gmail.com>
>
>>
>> Attach log.
>>
>>
>> Jessica
>>
>> On Wednesday, April 24, 2013 4:04:04 PM UTC-5, windycity wrote:
>>>
>>> We are using tomcat, I have logs at 
>>> tomcat/apache-tomcat-6.0.35/**logs/catalina.out,
>>> is that the right one? But this one does not have any Jenkins error. Build
>>> #23 is the trouble one.
>>>
>>> Jessica
>>>
>>> On Wednesday, April 24, 2013 3:36:18 PM UTC-5, slide wrote:
>>>>
>>>> No, I mean the actual stderr type logs for the Jenkins app itself, it
>>>> would be in different places depending on how you are running Jenkins.
>>>> Could be in the tomcat logs, etc.
>>>>
>>>>
>>>> On Wed, Apr 24, 2013 at 1:33 PM, windycity <jji...@gmail.com> wrote:
>>>>
>>>>> By jenkins log, do you mean $JENKINS_HOME/jobs/project/**builds/#/log
>>>>> file?  If this is the file you refer, it does have build errors, but
>>>>> sending mail seems fine.
>>>>>
>>>>> Sending e-mails to: j...@cboe.com
>>>>> channel stopped
>>>>> Sending e-mails to: j...@cboe.com
>>>>> Email was triggered for: Failure
>>>>> Sending email for trigger: Failure
>>>>> Sending email to: j...@cboe.com
>>>>> Finished: FAILURE
>>>>>
>>>>> If this is not the log you refer, would you please let me know where
>>>>> should be the log file?
>>>>>
>>>>> Thanks much,
>>>>>
>>>>> Jessica
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, April 24, 2013 3:13:54 PM UTC-5, slide wrote:
>>>>>
>>>>>> Do you have any errors in jenkins logs?
>>>>>>
>>>>>>
>>>>>> On Wed, Apr 24, 2013 at 12:43 PM, windycity <jji...@gmail.com> wrote:
>>>>>>
>>>>>>> I am looking at this file, actually, I figure
>>>>>>>
>>>>>>> ${JELLY_SCRIPT,template=&quot;****html&quot;}
>>>>>>>
>>>>>>> is the problem, if I get rid of this, everything seems working,
>>>>>>> though I do not understand why. Somebody else put this in global
>>>>>>> configuration, maybe this format is wrong, maybe it should be
>>>>>>> ${JELLY_SCRIPT, html}?
>>>>>>>
>>>>>>>
>>>>>>>  Following is the content of ExtendedEmailPublisher xml file from
>>>>>>> the root of JENKINS_HOME
>>>>>>>
>>>>>>> Thanks much!
>>>>>>>
>>>>>>> Jessica
>>>>>>>
>>>>>>> <?xml version='1.0' encoding='UTF-8'?>
>>>>>>> <hudson.plugins.emailext.**Exten**dedEmailPublisherDescript**or
>>>>>>> plugin="email-ext@2.28">
>>>>>>>   
>>>>>>> <hudsonUrl>http://openjdk2a:**80**81/jenkins/<http://openjdk2a:8081/jenkins/>
>>>>>>> </hudsonUrl>
>>>>>>>   <adminAddress>address not configured yet
>>>>>>> &lt;nobody&gt;</adminAddress>
>>>>>>>   <useSsl>false</useSsl>
>>>>>>>   <defaultContentType>text/html<****/defaultContentType>
>>>>>>>   <defaultSubject>${MAVEN_**PREBUI**LD_VERSION} $PROJECT_NAME -
>>>>>>> Build # $BUILD_NUMBER - $BUILD_STATUS!</**defaultSubject**>
>>>>>>>   <defaultBody>$PROJECT_NAME ${MAVEN_PREBUILD_VERSION}  - Build #
>>>>>>> $BUILD_NUMBER - $BUILD_STATUS:&#xd;
>>>>>>> &#xd;
>>>>>>> Check console output at $BUILD_URL to view the results.&#xd;
>>>>>>> &#xd;
>>>>>>> ${JELLY_SCRIPT,template=&quot;****html&quot;}</defaultBody>
>>>>>>>   <maxAttachmentSize>-1</**maxAtta**chmentSize>
>>>>>>>   <recipientList>j...@cboe.com</****recipientList>
>>>>>>>
>>>>>>>   <defaultReplyTo></**defaultReply**To>
>>>>>>>   <overrideGlobalSettings>false<****/overrideGlobalSettings>
>>>>>>>   <precedenceBulk>false</**precede**nceBulk>
>>>>>>>   <debugMode>false</debugMode>
>>>>>>>   <enableSecurity>false</**enableS**ecurity>
>>>>>>> </hudson.plugins.emailext.**Exte**ndedEmailPublisherDescript**or>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wednesday, April 24, 2013 2:33:08 PM UTC-5, slide wrote:
>>>>>>>
>>>>>>>> My apologies, I need the ExtendedEmailPublisher xml file from the
>>>>>>>> root of JENKINS_HOME.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Apr 24, 2013 at 10:03 AM, windycity <jji...@gmail.com>wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Here attached are the global and project config files, please let
>>>>>>>>> me know what is wrong.
>>>>>>>>>
>>>>>>>>> Thanks much for all your help!
>>>>>>>>>
>>>>>>>>> Jessica
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wednesday, April 24, 2013 8:59:51 AM UTC-5, slide wrote:
>>>>>>>>>
>>>>>>>>>> pre-build/post build added token
>>>>>>>>>> MIME-Version: 1.0
>>>>>>>>>> Content-Type: multipart/alternative;
>>>>>>>>>>         boundary="----=_Part_**8******9_9798859.1366811681215"
>>>>>>>>>>
>>>>>>>>>> ------=_Part_89_9798859.**136681******1681215
>>>>>>>>>> Content-Type: text/plain; charset="utf-8"
>>>>>>>>>> Content-Transfer-Encoding: 7bit
>>>>>>>>>>
>>>>>>>>>> They are expanded the same way, so I need more information (like
>>>>>>>>>> your
>>>>>>>>>> global and project config XML) to try and determine the issue.
>>>>>>>>>>
>>>>>>>>>> Sent from my Windows Phone
>>>>>>>>>> From: windycity
>>>>>>>>>> Sent: 4/24/2013 6:54
>>>>>>>>>> To: jenkins...@googlegroups.**com
>>>>>>>>>> Subject: jenkins e-mail ext DEFAULT_CONTENT does not expand
>>>>>>>>>> pre-build/post build added token
>>>>>>>>>> I use jenkin's configuration pre-build and post build "Execute
>>>>>>>>>> Groovy
>>>>>>>>>> System Script"-> command to get a token $MAVE_PREBUIL_VERSION and
>>>>>>>>>> $MAVEN_POSTBUILD_MAVEN, and put this at e-mail ext plugin
>>>>>>>>>> configuration. In
>>>>>>>>>> both global and project session, DEFAULT_SUBJECT can extent these
>>>>>>>>>> Tokens,
>>>>>>>>>> but DEFAULT_CONTENT can not, is this a known issue or I am not
>>>>>>>>>> using it
>>>>>>>>>> right?
>>>>>>>>>>
>>>>>>>>>> $DEFAULT_SUBJECT, ${MAVEN_PREBUILD_VERSION},
>>>>>>>>>> ${MAVEN_POSTBUILD_VERSION}
>>>>>>>>>> Above expand the token, but following does not
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> $DEFAULT_CONTENT, ${MAVEN_PREBUILD_VERSION}
>>>>>>>>>>
>>>>>>>>>> Thanks in advance,
>>>>>>>>>>
>>>>>>>>>> jessica
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> 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-use...@**googlegroups.******com.
>>>>>>>>>> For more options, visit https://groups.google.com/**grou******
>>>>>>>>>> ps/opt_out <https://groups.google.com/groups/opt_out>.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------=_Part_89_9798859.**136681******1681215
>>>>>>>>>> Content-Type: text/html; charset="utf-8"
>>>>>>>>>> Content-Transfer-Encoding: quoted-printable
>>>>>>>>>>
>>>>>>>>>> <html><head><meta content=3D"text/html; charset=3Dutf-8"
>>>>>>>>>> http-equiv=3D"Cont=
>>>>>>>>>> ent-Type"></head><body><div><**d******iv style=3D"font-family:
>>>>>>>>>> Calibri,sans-serif; =
>>>>>>>>>> font-size: 11pt;">They are expanded the same way, so I need more
>>>>>>>>>> informatio=
>>>>>>>>>> n (like your global and project config XML) to try and determine
>>>>>>>>>> the issue.=
>>>>>>>>>> <br><br>Sent from my Windows Phone<br></div></div><hr><span
>>>>>>>>>> style=3D"font-f=
>>>>>>>>>> amily: Tahoma,sans-serif; font-size: 10pt; font-weight:
>>>>>>>>>> bold;">From: </span=
>>>>>>>>>> ><span style=3D"font-family: Tahoma,sans-serif; font-size:
>>>>>>>>>> 10pt;">windycity=
>>>>>>>>>> </span><br><span style=3D"font-family: Tahoma,sans-serif;
>>>>>>>>>> font-size: 10pt; =
>>>>>>>>>> font-weight: bold;">Sent: </span><span style=3D"font-family:
>>>>>>>>>> Tahoma,sans-se=
>>>>>>>>>> rif; font-size: 10pt;">4/24/2013 6:54</span><br><span
>>>>>>>>>> style=3D"font-family:=
>>>>>>>>>>  Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">To:
>>>>>>>>>> </span><span s=
>>>>>>>>>> tyle=3D"font-family: Tahoma,sans-serif; font-size:
>>>>>>>>>> 10pt;">jenkinsci-users@g=
>>>>>>>>>> ooglegroups.com</span><br><**spa******n style=3D"font-family:
>>>>>>>>>> Tahoma,sans-serif; fo=
>>>>>>>>>> nt-size: 10pt; font-weight: bold;">Subject: </span><span
>>>>>>>>>> style=3D"font-fami=
>>>>>>>>>> ly: Tahoma,sans-serif; font-size: 10pt;">jenkins e-mail ext
>>>>>>>>>> DEFAULT_CONTENT=
>>>>>>>>>>  does not expand pre-build/post build added
>>>>>>>>>> token</span><br><br></body></**h******t=
>>>>>>>>>> ml>I use jenkin's configuration pre-build and post build "Execute
>>>>>>>>>> Groovy Sy=
>>>>>>>>>> stem Script"-&gt; command to get a token $MAVE_PREBUIL_VERSION
>>>>>>>>>> and $MAVEN_P=
>>>>>>>>>> OSTBUILD_MAVEN, and put this at e-mail ext plugin configuration.
>>>>>>>>>> In both gl=
>>>>>>>>>> obal and project session, DEFAULT_SUBJECT can extent these
>>>>>>>>>> Tokens, but DEFA=
>>>>>>>>>> ULT_CONTENT can not, is this a known issue or I am not using it
>>>>>>>>>> right?<br><=
>>>>>>>>>> br>$DEFAULT_SUBJECT, ${MAVEN_PREBUILD_VERSION},
>>>>>>>>>> ${MAVEN_POSTBUILD_VERSION} =
>>>>>>>>>> Above expand the token, but following does
>>>>>>>>>> not<br><br><br>$DEFAULT_**CONTEN******T,=
>>>>>>>>>>  ${MAVEN_PREBUILD_VERSION}<br>********<br>Thanks in
>>>>>>>>>> advance,<br><br>jessica<br><**br******>
>>>>>>>>>>
>>>>>>>>>> <p></p>
>>>>>>>>>>
>>>>>>>>>> -- <br />
>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>> Google Groups &=
>>>>>>>>>> quot;Jenkins Users&quot; group.<br />
>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>>>> send an e=
>>>>>>>>>> mail to jenkinsci-use...@**googlegroups.******com.<br />
>>>>>>>>>> For more options, visit <a href=3D"https://groups.google.********
>>>>>>>>>> com/groups/opt_out= <https://groups.google.com/groups/opt_out=>
>>>>>>>>>> ">https://groups.google.com/**gr******oups/opt_out<https://groups.google.com/groups/opt_out></a>.<br
>>>>>>>>>> />
>>>>>>>>>> &nbsp;<br />
>>>>>>>>>> &nbsp;<br />
>>>>>>>>>>
>>>>>>>>>> ------=_Part_89_9798859.**136681******1681215--
>>>>>>>>>>
>>>>>>>>>  --
>>>>>>>>> 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-use...@**googlegroups.****com.
>>>>>>>>> For more options, visit https://groups.google.com/**grou****
>>>>>>>>> ps/opt_out <https://groups.google.com/groups/opt_out>.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Website: http://earl-of-code.**c****om <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 jenkinsci-use...@**googlegroups.**com.
>>>>>>> For more options, visit 
>>>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
>>>>>>> .
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Website: http://earl-of-code.**c**om <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 jenkinsci-use...@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 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.
>>
>>
>>
>
>  --
> 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.
>
>
>

-- 
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.


Reply via email to