There is no token that provides that. On Thu, Aug 13, 2015 at 11:26 AM Rajasekar Vasudevan <[email protected]> wrote:
> I do not use groovy templates or jelly templates. It's just a simple plain > email wherein i wanted display the date in the format YYYY-MM-DD > > > On Thursday, August 13, 2015 at 2:22:05 PM UTC-4, slide wrote: > >> Are you using groovy templates or jelly templates for your email, or just >> raw tokens in the content box? >> >> On Thu, Aug 13, 2015 at 11:17 AM Rajasekar Vasudevan <[email protected]> >> wrote: >> > >>> No...It's working as expected. But it's set to a different format and i >>> use it for various other reasons in the job. So i could not use BUILD_ID to >>> just display the date in format YYYY_MM_DD. >>> >>> On Thursday, August 13, 2015 at 2:13:42 PM UTC-4, slide wrote: >>> >>>> Is your override of BUILD_ID not working? >>>> >>>> On Thu, Aug 13, 2015 at 11:09 AM Rajasekar Vasudevan < >>>> [email protected]> wrote: >>>> >>> I have Jenkin’s “BUILD_ID” env variable redefined using zentimestamp >>>>> plugin in my Jenkins setup and I use it in the configured jobs for various >>>>> reasons. I’m now trying to display the build date in the format >>>>> “YYYY-MM-DD” in emails triggered by email extn plugin as part of post >>>>> build. Can anyone direct me how can I display the build date in the above >>>>> format in emails. I could not use none other Jenkins env variables. Please >>>>> share your thoughts to get this done or put me in some directions. Thanks. >>>>> >>>>> -- >>>>> 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]. >>>> >>>> >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/jenkinsci-users/ab262fed-1078-4de4-bfdc-95bc92010719%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/jenkinsci-users/ab262fed-1078-4de4-bfdc-95bc92010719%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>> 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]. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/c769a13b-3775-4fe1-b239-37e7d4847109%40googlegroups.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/c769a13b-3775-4fe1-b239-37e7d4847109%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/0e57afd6-553e-412f-9415-6a97b5c0e71c%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/0e57afd6-553e-412f-9415-6a97b5c0e71c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcOJnmxZGYHX5zYEu8MtFKdru3-iCGVrefwWbZt%3DynZcw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
