As of 1.4, the Ant plugin isn't setting PATH+ANT so the Pipeline tool step (and things building on that step, like Declarative's tools directive) don't get Ant automatically added to the PATH. That should be fixed.

          [JENKINS-42382] AntInstallation not setting PATH+ANT

          Andrew Bayer created issue -
          Andrew Bayer made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Andrew Bayer made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          Andrew Bayer added a comment -

          Andrew Bayer added a comment - PR up at https://github.com/jenkinsci/ant-plugin/pull/26
          Andrew Bayer made changes -
          Remote Link New: This issue links to "PR #26 (Web Link)" [ 15503 ]

          Jesse Glick added a comment -

          tool does not currently do anything with environment variables, so I suppose this affects only Declarative.

          Jesse Glick added a comment - tool does not currently do anything with environment variables, so I suppose this affects only Declarative.
          Jesse Glick made changes -
          Labels New: declarative pipeline

          Jesse Glick added a comment -

          Jesse Glick added a comment - Cf. JENKINS-28718 .
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-28718 [ JENKINS-28718 ]
          Andrew Bayer made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]

            abayer Andrew Bayer
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: