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.

       

       

          [JENKINS-42880] env variables suddenly gone

          heinzepreller created issue -
          heinzepreller made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

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

              Created:
              Updated: