Do you have the config-file-provider plugin installed? If so, you specify the NAME of the template that you create in the managed scripts area of the global configuration after managed:
On Wed, Dec 6, 2017 at 10:24 AM Chris T <[email protected]> wrote: > And how is "config-file-provider" used? > > In the emailext: > body: '${JELLY_SCRIPT, template="managed:<name_of_my_config_file>"}', > or > body: '${SCRIPT, template="managed:<name_of_my_config_file>"}', > > But this isn't working for me. > > > > On Sunday, March 1, 2015 at 4:16:19 PM UTC-5, slide wrote: >> >> The other option is if you install the config-file-provider plugin, you >> can put the template in there and not have to worry about using the file >> system location. I need to go and update the wiki with a bunch of >> information... >> >> On Sun, Mar 1, 2015 at 8:42 AM Harish ES <[email protected]> wrote: >> >>> Thanks Slide, from reading plugin wiki, it looks I need to make a copy >>> of jelly template(from github?) with custom name and edit it and follow >>> below steps pasted from wiki: >>> >>> Using custom Jelly scripts (those not packaged with email-ext) requires >>> the cooperation of your Hudson administrator. The steps are relatively >>> simple: >>> >>> 1. Create the Jelly script. The name of the script should be >>> *<name>.jelly*. It is important the name ends in *.jelly*. >>> 2. Have your Jenkins administrator place the script inside >>> $JENKINS_HOME_\email-templates_. >>> >>> >>> >>> On Sun, Mar 1, 2015 at 5:05 PM, Slide <[email protected]> wrote: >>> >>>> Check the wiki, there is information there on that exact thing. >>>> >>>> On Sun, Mar 1, 2015, 03:59 esharish <[email protected]> wrote: >>>> >>>>> I can use the default html template from email-ext plugin, but I >>>>> cannot locate the template file under the plugin directory or Jenkins home >>>>> to edit it. Where can I edit this default html.jelly template? I am using >>>>> latest Jenkins 1.598 and email-ext template 2.39. >>>>> >>>>> -- >>>>> 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/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/jenkinsci-users/96e7e9f6-d4c9-4e77-8ca7-00bdce9462da%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 a topic in the >>>> Google Groups "Jenkins Users" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/jenkinsci-users/_FgZG06aqGc/unsubscribe >>>> . >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVchzFuyQHWuw4-CsxqZ-tjSuGxteE9xZkMkWaJX%3DAcKcw%40mail.gmail.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/CACKaJRPcdnhiQwU0DevOju-5U%3DDJYxwhPKo97Zt1uTtnZUUxhg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/CACKaJRPcdnhiQwU0DevOju-5U%3DDJYxwhPKo97Zt1uTtnZUUxhg%40mail.gmail.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/b943c080-e6af-4e56-bee2-01e17d5b17a2%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/b943c080-e6af-4e56-bee2-01e17d5b17a2%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/CAPiUgVf2s_2oYGPsKMGoc1cyW-4AFEMAeYH%2BCz0P5L_XXQuH%2BQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
