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

Custom Ant location for running using either Windows or Linux Shell

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • ant-plugin
    • None

      Hi,

      I would like to see if there is a possibility of adding a new drop down action when running builds using Ant.
      So that, if one doesn't need to run using the default or other Ant distributions that we define on the main Jenkins configuration page. We can specify a custom Ant distribution location, relative to the workspace.

      The reasoning is, sometimes we add other libraries to be used in the Ant scripts and those are missing from the pre-defined distributions of Ant.

      For example:
      1 - I want to use Ant-Contrib and some other 3rd party Ant tasks that are not available.
      2 - or maybe, if I want to use the customized compile version of Ant.

      If I am using one of the 3rd party tasks in my scripts, it works from the local command line, but not through Jenkins.
      I am sure, others will benefit from this improvement in Ant plugin.

      Thanks

            Unassigned Unassigned
            fmhome fmhome
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: