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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: