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

Bad relative path support for Ant scripts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • ant-plugin
    • None
    • Platform: PC, OS: other

      The support for relative paths for Ant scripts is wrong.
      When using i.e. the target
      -buildfile ..\..\..\..\..\MyBuildFile.xml
      The Hudson server uses the folder
      %HUDSON_HOME%\jobs\MyJob\builds\workspace
      as the working directory
      If Hudson finds the MyBuildFile.xml, it passes value for the
      parameter "buildfile" to Ant, using a cmd.exe.
      cmd.exe uses "%SystemRoot%\System32" (C:\Windows\System32) as it's working
      directory.

            Unassigned Unassigned
            wittob wittob
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: