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

Create easier method to use content tokens in groovy templates

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: