i am receiving email on the same host as jenkins
ALSO, the jelly script DOES work, with URL:



  <IMG SRC="${rooturl}static/e59dfe28/images/32x32/red.gif" />

but not the Groovy script , with the same URL, for yellow.gif




>________________________________
> From: Alex Earl <[email protected]>
>To: Kamal Ahmed <[email protected]>; "[email protected]" 
><[email protected]> 
>Sent: Monday, April 8, 2013 8:22 PM
>Subject: RE: email-ext groovy script groovy-html.template does not display
> 
>the yellow, red and blue buttons
>MIME-Version: 1.0
>Content-Type: multipart/alternative;
>boundary="942553102-1508715359-1365465321=:85628"
>
>--942553102-1508715359-1365465321=:85628
>Content-Type: text/plain; charset="utf-8"
>Content-Transfer-Encoding: quoted-printable
>
>Is Jenkins running on the machine you are receiving emails on? If not,
>you may want to set a better URL in the global config.
>
>Sent from my Windows Phone
>From: Kamal Ahmed
>Sent: 4/8/2013 16:55
>To: [email protected]
>Subject: Re: email-ext groovy script groovy-html.template does not
>display the yellow, red and blue buttons
>i can access the blue ball with http://localhost:9000/static/e59dfe28/image=
>s/32x32/blue.gif
>
>
>
>
>
>
>>________________________________
>> From: Slide <[email protected]>
>>To: "[email protected]" <[email protected]>=
>=20
>>Sent: Monday, April 8, 2013 6:38 PM
>>Subject: Re: email-ext groovy script groovy-html.template does not display=
>the yellow, red and blue buttons
>>=20
>>
>>Can you browse to the URL that is contained in the email body and have it =
>show the image?
>>
>>
>>
>>On Mon, Apr 8, 2013 at 3:19 PM, Kamal Ahmed <[email protected]> wro=
>te:
>>
>>I tried with:
>>>
>>>
>>><TABLE>
>>>=C2=A0 <TR><TD align=3D"right"><IMG SRC=3D"${build.HUDSON_HOME}/images/32=
>x32/<%=3D build.result.toString() =3D=3D 'SUCCESS' ? "blue.png" : build.res=
>ult.toString() =3D=3D 'FAILURE' ? 'red.png' : 'yellow.png' %>" />
>>>
>>>
>>>after moving the "images" folder to $JENKINS_HOME/images/
>>>
>>>
>>>But in the email, i still dont see the buttons.
>>>
>>>
>>>originally, it was :
>>>
>>>
>>><TABLE>
>>>=C2=A0 <TR><TD align=3D"right"><IMG SRC=3D"${rooturl}static/e59dfe28/imag=
>es/32x32/<%=3D build.result.toString() =3D=3D 'SUCCESS' ? "blue.gif" : buil=
>d.result.toString() =3D=3D 'FAILURE' ? 'red.gif' : 'yellow.gif' %>" />
>>>
>>>but those did not work wither.
>>>
>>>
>>>Any ideas ?
>>>Thanks,
>>>-Kamal.
>>> --=20
>>>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.
>>>=C2=A0
>>>=C2=A0
>>>
>>
>>
>>
>>--=20
>>Website:=C2=A0http://earl-of-code.com=20
>--=20
>>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.
>>=C2=A0
>>=C2=A0
>>
>>
>>
>
>--=20
>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 e=
>mail to [email protected].
>For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>--942553102-1508715359-1365465321=:85628
>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;">Is Jenkins running on the machine you are rec=
>eiving emails on? If not, you may want to set a better URL in the global co=
>nfig.<br><br>Sent from my Windows Phone<br></div></div><hr><span style=3D"f=
>ont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">From: <=
>/span><span style=3D"font-family: Tahoma,sans-serif; font-size: 10pt;">Kama=
>l Ahmed</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-serif; font-size: 10pt;">4/8/2013 16:55</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;">jenkinsci-=
>[email protected]</span><br><span style=3D"font-family: Tahoma,sans-se=
>rif; font-size: 10pt; font-weight: bold;">Subject: </span><span style=3D"fo=
>nt-family: Tahoma,sans-serif; font-size: 10pt;">Re: email-ext groovy script=
>groovy-html.template does not display the yellow, red and blue buttons</sp=
>an><br><br></body></html><div style=3D"color:#000; background-color:#fff; f=
>ont-family:verdana, helvetica, sans-serif;font-size:10pt">i can access the =
>blue ball with http://localhost:9000/static/e59dfe28/images/32x32/blue.gif<=
>br><br><div><span><br></span></div><div><br><blockquote style=3D"border-lef=
>t: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-l=
>eft: 5px;">  <div style=3D"font-family: verdana, helvetica, sans-serif; fon=
>t-size: 10pt;"> <div style=3D"font-family: times new roman, new york, times=
>, serif; font-size: 12pt;"> <div dir=3D"ltr"> <font face=3D"Arial" size=3D"=
>2"> <hr size=3D"1">  <b><span style=3D"font-weight:bold;">From:</span></b> =
>Slide <[email protected]><br> <b><span style=3D"font-weight: bold=
>;">To:</span></b> "[email protected]" <jenkinsci-users@go=
>oglegroups.com> <br> <b><span style=3D"font-weight: bold;">Sent:</span><=
>/b> Monday, April 8, 2013 6:38 PM<br> <b><span style=3D"font-weight: bold;"=
>>Subject:</span></b> Re:
>email-ext groovy script groovy-html.template does not display the yellow, =
>red and blue buttons<br> </font> </div> <br>
><div id=3D"yiv1309593428"><div dir=3D"ltr">Can you browse to the URL that i=
>s contained in the email body and have it show the image?</div><div class=
>=3D"yiv1309593428gmail_extra"><br><br><div class=3D"yiv1309593428gmail_quot=
>e">On Mon, Apr 8, 2013 at 3:19 PM, Kamal Ahmed <span dir=3D"ltr"><<a rel=
>=3D"nofollow" ymailto=3D"mailto:[email protected]"; target=3D"_blank"=
>href=3D"mailto:[email protected]";>[email protected]</a>><=
>/span> wrote:<br>
><blockquote class=3D"yiv1309593428gmail_quote" style=3D"margin:0 0 0 .8ex;b=
>order-left:1px #ccc solid;padding-left:1ex;"><div><div style=3D"font-size:1=
>0pt;font-family:verdana, helvetica, sans-serif;"><div>I tried with:</div><d=
>iv><br></div><div style=3D"font-style:normal;font-size:13.3333px;background=
>-color:transparent;font-family:verdana, helvetica, sans-serif;">
><TABLE><br>  <TR><TD align=3D"right"><IMG SRC=3D"=
>${build.HUDSON_HOME}/images/32x32/<%=3D build.result.toString() =3D=3D '=
>SUCCESS' ? "blue.png" : build.result.toString() =3D=3D 'FAILURE' ? 'red.png=
>' : 'yellow.png' %>" /></div>
><div style=3D"font-style:normal;font-size:13.3333px;background-color:transp=
>arent;font-family:verdana, helvetica, sans-serif;"><br></div><div style=3D"=
>font-style:normal;font-size:13.3333px;background-color:transparent;font-fam=
>ily:verdana, helvetica, sans-serif;">
>after moving the "images" folder to $JENKINS_HOME/images/</div><div style=
>=3D"font-style:normal;font-size:13.3333px;background-color:transparent;font=
>-family:verdana, helvetica, sans-serif;"><br></div><div style=3D"font-style=
>:normal;font-size:13.3333px;background-color:transparent;font-family:verdan=
>a, helvetica, sans-serif;">
>But in the email, i still dont see the buttons.</div><div style=3D"font-sty=
>le:normal;font-size:13.3333px;background-color:transparent;font-family:verd=
>ana, helvetica, sans-serif;"><br></div><div style=3D"font-style:normal;font=
>-size:13.3333px;background-color:transparent;font-family:verdana, helvetica=
>, sans-serif;">
>originally, it was :</div><div style=3D"font-style:normal;font-size:13.3333=
>px;background-color:transparent;font-family:verdana, helvetica, sans-serif;=
>"><br></div><div style=3D"font-style:normal;font-size:13.3333px;background-=
>color:transparent;font-family:verdana, helvetica, sans-serif;">
><TABLE><br>  <TR><TD align=3D"right"><IMG SRC=3D"=
>${rooturl}static/e59dfe28/images/32x32/<%=3D build.result.toString() =3D=
>=3D 'SUCCESS' ? "blue.gif" : build.result.toString() =3D=3D 'FAILURE' ? 're=
>d.gif' : 'yellow.gif' %>" /><br>
></div><div style=3D"font-style:normal;font-size:13.3333px;background-color:=
>transparent;font-family:verdana, helvetica, sans-serif;">but those did not =
>work wither.</div><div style=3D"font-style:normal;font-size:13.3333px;backg=
>round-color:transparent;font-family:verdana, helvetica, sans-serif;">
><br></div><div style=3D"font-style:normal;font-size:13.3333px;background-co=
>lor:transparent;font-family:verdana, helvetica, sans-serif;">Any ideas ?</d=
>iv><div style=3D"font-style:normal;font-size:13.3333px;background-color:tra=
>nsparent;font-family:verdana, helvetica, sans-serif;">
>Thanks,</div><div style=3D"font-style:normal;font-size:13.3333px;background=
>-color:transparent;font-family:verdana, helvetica, sans-serif;">-Kamal.<spa=
>n class=3D"yiv1309593428HOEnZb"><font color=3D"#888888"><br></font></span><=
>/div></div></div><span class=3D"yiv1309593428HOEnZb"><font color=3D"#888888=
>">
>
>
>
>-- <br>
>You received this message because you are subscribed to the Google Groups "=
>Jenkins Users" group.<br>
>To unsubscribe from this group and stop receiving emails from it, send an e=
>mail to <a rel=3D"nofollow" ymailto=3D"mailto:jenkinsci-users%2Bunsubscribe=
>@googlegroups.com" target=3D"_blank" href=3D"mailto:jenkinsci-users%2Bunsub=
>[email protected]">[email protected]</a>.<=
>br>
>For more options, visit <a rel=3D"nofollow" target=3D"_blank" href=3D"https=
>://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_o=
>ut</a>.<br>
> <br>
> <br>
></font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
>r>Website: http://earl-of-code.com
></div>
>
>
>
>-- <br>
>You received this message because you are subscribed to the Google Groups "=
>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 rel=3D"nofollow" target=3D"_blank" href=3D"https=
>://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_o=
>ut</a>.<br>
> <br>
> <br>
></div><br><br> </div> </div> </blockquote></div>   </div></body></html>
>
><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 />
>
>--942553102-1508715359-1365465321=:85628--
>
>-- 
>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.
>
>
>
>
>

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


Reply via email to