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

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

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved: