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

Invoke ANT requires there to be a build.xml file in jobs/JOB_NAME/workspace even with ANT_ARGS="-buildfile /path/to/build.xml"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ant-plugin
    • None
    • Jenkins 1.535
      CentOS 6.4

      This isn't really a bug, more of a question.
      In my global config, I have a key-value env var ANT_ARGS, value="-buildfile /path/to/build.xml"

      It makes it into my build environment variables correctly, however the build fails if I do not have a build.xml in my job workspace.

      What's stranger is that when I have an empty build.xml in the job workspace the project then looks for /path/to/build.xml

      Is this intended?

            Unassigned Unassigned
            chr0n1x Kevin R.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: