A way to run Ant from a workflow using configured Ant installations and so on.

          [JENKINS-26056] Workflow build step for Ant

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-26055 [ JENKINS-26055 ]
          Jesse Glick made changes -
          Summary Original: Workflow build step New: Workflow build step for Ant
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-30025 [ JENKINS-30025 ]
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ]
          Patrick Wolf made changes -
          Epic Link New: JENKINS-34657 [ 170293 ]
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ]

          I've used AntBuilder with the Groovy plugin, Of couse, that only works on the master, and one has to find the path of the workspace, and attach a logger. While coding build logic is really easy after that, the preparation is rather awkward, and it won't work in Jenkins Pipeline. Of course, one can also use Gradle's 'ant' object, but an AntBuilder step instead of "bat" on Windows would make many things much easier to read, and much simpler to maintain.

          Thomas Goeppel added a comment - I've used AntBuilder with the Groovy plugin, Of couse, that only works on the master, and one has to find the path of the workspace, and attach a logger. While coding build logic is really easy after that, the preparation is rather awkward, and it won't work in Jenkins Pipeline. Of course, one can also use Gradle's 'ant' object, but an AntBuilder step instead of "bat" on Windows would make many things much easier to read, and much simpler to maintain.

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            19 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: