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

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

    Details

    • Similar Issues:

      Description

      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?

        Attachments

          Activity

          orrc Christopher Orr created issue -
          slide_o_mix Alex Earl made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 161749 ] JNJira + In-Review [ 196857 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: