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

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: ant-plugin
    • None
    • Environment:
      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?

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

              Created:
              Updated: