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

env variables suddenly gone

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi,

      we upgraded from jenkins 2.47 to 2.50 since then nearly all of our ant build steps are failing.

      I found out why :

      We have following checks in our ANT Scripts:

      <fail unless="env.ANT_HOME"
      message="SYSTEMCONFIGFAILURE: Variable ANT_HOME must be set!"
      />

      Problem is we are using property 

      <property environment="env"/>

      And "env" is suddenly empty - nothing else changed, ANT_HOME for example is set but check is failing.

      I didn't find any clue in jenkins changelog or here in JIRA so im filing this isssue.

       

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            mattloveparasoft Matt Love
            Reporter:
            heinzepreller heinzepreller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: