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

[Email-Ext] Not able to use a parameter that i define in the Job

    Details

    • Similar Issues:

      Description

      Hello,

      At the end of my Job that I set a post build step that will send a mail.

      This mail format is HTML and I am trying to use few variables.

      I am able to use Tokens such: $PROJECT_NAME, $BUILD_NUMBER, $BUILD_STATUS but when I want to use a System Variable then i get nothing. (This variable is being set at the beginning of the Job using the "This build is parameterized"

      The system Variable name is JobBranch and I already tried to call it in all the ways i know:

      ${ENV, JobBranch}
      ${ENV, %JobBranch%}
      %JobBranch%
      $JobBranch

      for all of these i get nothing (It is actually print this text as it is ...)

      What i am doing wrong?

      Doron

        Attachments

          Activity

          doronshai Doron Shai created issue -
          doronshai Doron Shai made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s current [ 10162 ]
          Resolution Not A Defect [ 7 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 146860 ] JNJira + In-Review [ 206291 ]

            People

            • Assignee:
              slide_o_mix Alex Earl
              Reporter:
              doronshai Doron Shai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: