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

FILE macro is generically useful and could be part of the token-macro plugin

XMLWordPrintable

      Email-ext defines a ${FILE, path='foo.txt'} token macro which makes it possible to read in the contents of a file.

      This seems generic enough to be useful in many cases (like $PROPFILE), and indeed I wanted to integrate the $FILE macro into one of my plugins. But it seems weird to depend on the email-ext plugin, and I didn't really want to copy the code into my own plugin.

      So would it be possible to move this macro implementation up to the token-macro-plugin itself?

            slide_o_mix Alex Earl
            orrc Christopher Orr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: