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

Freestyle ant job - relative path errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ant-plugin
    • None
    • windows server, hudson 1.351, standalone container

      I just updated to 1.351 today and noticed that a problem cropped up with a job config that was working under 1.348 this morning.

      I have a freestyle job with 2 ant tasks with one task that references another "enterprise" job using this type of config.


      Ant version: Ant 1.7.1
      build file: ${WORKSPACE}/../../Enterprise/workspace/build/entbuild.xml
      targets: modifyenttarget

      Ant version: Ant 1.6.5
      build file: <-- normal default here, I actually didn't override.
      targets: clean buildall


      What I have found is it does not like the "../.." part of the path and truncates the path. So I switched it to using "..\.." in its place. (We are running on Windows with standalone container) That relative path worked.

      I have since rolled back to 1.348 and it is again working with the original relative path syntax.

      It may be related to this bug: http://issues.jenkins-ci.org/browse/JENKINS-3903

            mindless Alan Harder
            riverofcode riverofcode
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: