Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18203

Enable use of managed files for templates

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      At the moment in order to use a content template the script must be copied into the folder $JENKINS_ROOT/email-templates, which requires filesystem access to the master.
      As an alternative I want to be able to create a managed file (using the Config File Provider plugin) and then reference that file when configuring editable email notification build step.

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          Good idea, I'll do that.

          Show
          slide_o_mix Alex Earl added a comment - Good idea, I'll do that.
          Hide
          slide_o_mix Alex Earl added a comment -

          Added information on the managed: syntax to the help for the SCRIPT and JELLY_SCRIPT tokens.

          Show
          slide_o_mix Alex Earl added a comment - Added information on the managed: syntax to the help for the SCRIPT and JELLY_SCRIPT tokens.
          Hide
          cimbi Martin Cimbalek added a comment - - edited

          Hello guys. Thank you for this feature. However, I am not able to get the "managed:" feature work. It simply cannot find the file (even though it is there). Can you point me to some working example so I can rule out I'm doing something wrong, please?

          Show
          cimbi Martin Cimbalek added a comment - - edited Hello guys. Thank you for this feature. However, I am not able to get the "managed:" feature work. It simply cannot find the file (even though it is there). Can you point me to some working example so I can rule out I'm doing something wrong, please?
          Hide
          slide_o_mix Alex Earl added a comment -

          Martin Cimbalek probably want to ask on the Jenkins Users mailing list. The feature has been in place for a long time (7 years) and has tests. So, asking your question on the mailing list would be best. I no longer maintain this plugin, but someone on the mailing list may be able to help.

          Show
          slide_o_mix Alex Earl added a comment - Martin Cimbalek  probably want to ask on the Jenkins Users mailing list. The feature has been in place for a long time (7 years) and has tests. So, asking your question on the mailing list would be best. I no longer maintain this plugin, but someone on the mailing list may be able to help.
          Hide
          cimbi Martin Cimbalek added a comment -

          Will do, thanks!

          Show
          cimbi Martin Cimbalek added a comment - Will do, thanks!

            People

            Assignee:
            slide_o_mix Alex Earl
            Reporter:
            tyrius Jonathan Zimmerman
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: