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

Create easier method to use content tokens in groovy templates

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • email-ext-plugin
    • None

      Currently you have to import all the content token plugins you want to use, create an instance and then call the getContent method to use the email-ext tokens in a groovy template. It would be nice to have an easier method to do this, where you could do something like:

      ENV(var: 'MY_VAR')

      To use the ENV content token.

            slide_o_mix Alex Earl
            slide_o_mix Alex Earl
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: