Details

    • Similar Issues:

      Description

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

        Attachments

          Issue Links

            Activity

            Hide
            tg9541 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.

            Show
            tg9541 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.
            Hide
            zswanson Zach Swanson added a comment -

            Is this still being worked? It's been 'in review' for nearly a year it looks like.

            Show
            zswanson Zach Swanson added a comment - Is this still being worked? It's been 'in review' for nearly a year it looks like.
            Hide
            jglick Jesse Glick added a comment -

            I will probably withdraw the PR in favor of one that simply offers AntConsoleAnnotator as a build wrapper.

            Show
            jglick Jesse Glick added a comment - I will probably withdraw the PR in favor of one that simply offers AntConsoleAnnotator as a build wrapper.
            Hide
            jglick Jesse Glick added a comment -

            Ready.

            Show
            jglick Jesse Glick added a comment - Ready.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            pom.xml
            src/main/java/hudson/tasks/AntWrapper.java
            src/main/java/hudson/tasks/_ant/AntConsoleAnnotator.java
            src/main/resources/hudson/tasks/AntWrapper/config.groovy
            src/main/resources/hudson/tasks/AntWrapper/help-installation.html
            src/main/resources/hudson/tasks/AntWrapper/help-jdk.html
            src/main/resources/hudson/tasks/AntWrapper/help.html
            src/test/java/hudson/tasks/AntTest.java
            src/test/java/hudson/tasks/AntWrapperTest.java
            src/test/resources/hudson/tasks/_ant/pauses.xml
            http://jenkins-ci.org/commit/ant-plugin/798cf27ebba66685d2fa7446521228fae1ab975f
            Log:
            Merge pull request #22 from jglick/pipeline-JENKINS-26056

            JENKINS-26056 Pipeline-compatible Ant build wrapper

            Compare: https://github.com/jenkinsci/ant-plugin/compare/a210ecc247fb...798cf27ebba6

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: pom.xml src/main/java/hudson/tasks/AntWrapper.java src/main/java/hudson/tasks/_ant/AntConsoleAnnotator.java src/main/resources/hudson/tasks/AntWrapper/config.groovy src/main/resources/hudson/tasks/AntWrapper/help-installation.html src/main/resources/hudson/tasks/AntWrapper/help-jdk.html src/main/resources/hudson/tasks/AntWrapper/help.html src/test/java/hudson/tasks/AntTest.java src/test/java/hudson/tasks/AntWrapperTest.java src/test/resources/hudson/tasks/_ant/pauses.xml http://jenkins-ci.org/commit/ant-plugin/798cf27ebba66685d2fa7446521228fae1ab975f Log: Merge pull request #22 from jglick/pipeline- JENKINS-26056 JENKINS-26056 Pipeline-compatible Ant build wrapper Compare: https://github.com/jenkinsci/ant-plugin/compare/a210ecc247fb...798cf27ebba6

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: