setenv variables not available to email-ext

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Improvement
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: email-ext-plugin
    • Environment:
      Hudson Setenv Plugin 1.1
      Hudson Email Extension Plugin 2.5
      hudson 1.346

      It seems like this should work after JENKINS-3605 was fixed so I followed the documented reference format as clarified in JENKINS-2413 and JENKINS-5322 (i.e. ${ENV, var="VERSION"}

      I can get access to the default variables, but not ones set by setenv plugin or by any build steps.

      When this is fixed we should make sure that the recipients can be set as well as the email content.

      There are a couple of related patches out there.
      http://n4.nabble.com/Email-notification-recipients-as-a-variable-td1578247.html#a1578247
      Access to node env variables: JENKINS-5465

      I'm not sure if this should be opened against email-ext or setenv plugin.
      http://wiki.jenkins-ci.org/display/JENKINS/Setenv+Plugin
      http://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin

      There is not currently a setenv component in jira so I'm opening this against email-ext.

      A recent discussion of this issue: http://n4.nabble.com/How-to-use-environment-variables-td1012822.html#a1012822

            Assignee:
            Unassigned
            Reporter:
            jminne
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: