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

Allow access to build parameters

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Component/s: email-ext-plugin
    • Labels:
      None

      Description

      It would be nice to be able to access the Jenkins build parameters so that they can be added to the email content.

        Activity

        Hide
        b2jrock b2jrock added a comment -

        Generally you can push these into the build environment and access them in the email like:

        $

        {ENV, var="MY_BUILD_PARAMETER"}
        Show
        b2jrock b2jrock added a comment - Generally you can push these into the build environment and access them in the email like: $ {ENV, var="MY_BUILD_PARAMETER"}
        Hide
        sam_he Sam He added a comment -

        The attachment field does NOT support this feature.

        Show
        sam_he Sam He added a comment - The attachment field does NOT support this feature.
        Hide
        slide_o_mix Alex Earl added a comment -

        What are you trying to do?

        Show
        slide_o_mix Alex Earl added a comment - What are you trying to do?
        Hide
        slide_o_mix Alex Earl added a comment -

        Able to push variables into the environment and then use them as content with the $

        {ENV,var="BUILD_PARAMETER"}

        token.

        Show
        slide_o_mix Alex Earl added a comment - Able to push variables into the environment and then use them as content with the $ {ENV,var="BUILD_PARAMETER"} token.

          People

          • Assignee:
            Unassigned
            Reporter:
            gms5002 Greg Snyder
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: