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

Parent directory paths not supported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • None
    • Platform: PC, OS: Windows XP

      I have a Maven build with the following directory structure:
      /trunk
      /BlahBuild
      /BlahCommon
      /BlahBiz
      /BlahDataAccess

      The parent pom.xml inside BlahBuild looks like so:
      <modules>
      <module>../BlahCommon</module>
      <module>../BlahDataAccess</module>
      <module>../BlahBiz</module>
      </modules>

      This works fine in Maven, but fails in Hudson. My project configuration uses the
      following values:
      Subversion Modules - file:///C:/svnrepo_blah/trunk
      Root POM - BlahBuild/pom.xml

      Console output for BlahBiz:
      started
      ERROR: No POM: C:\Documents and
      Settings\mike\.hudson\jobs\Blah\workspace\trunk\..\BlahBiz\pom.xml
      finished: FAILURE

      Tomcat output:
      Mar 4, 2007 4:34:57 PM hudson.model.Run setResult
      INFO: Blah #25 : result is set to SUCCESS by hudson.model.Run.run(Run.java:533)
      Mar 4, 2007 4:34:57 PM hudson.model.Run run
      INFO: Blah #25 main build action completed: SUCCESS
      Mar 4, 2007 4:35:04 PM hudson.model.Run setResult
      INFO: blah:blah-maven-build #25 : result is set to SUCCESS by
      hudson.model.Run.run(Run.java:533)
      Mar 4, 2007 4:35:04 PM hudson.model.Run run
      INFO: blah:blah-maven-build #25 main build action completed: SUCCESS
      Mar 4, 2007 4:35:10 PM hudson.model.Run setResult
      INFO: Blah:blah-biz #25 : result is set to FAILURE by
      hudson.model.Run.run(Run.java:533)
      Mar 4, 2007 4:35:10 PM hudson.model.Run run
      INFO: Blah:blah-biz #25 main build action completed: FAILURE
      Mar 4, 2007 4:35:10 PM hudson.model.Run setResult
      INFO: Blah:blah-common #25 : result is set to FAILURE by
      hudson.model.Run.run(Run.java:533)
      Mar 4, 2007 4:35:10 PM hudson.model.Run run
      INFO: Blah:blah-common #25 main build action completed: FAILURE
      Mar 4, 2007 4:35:10 PM hudson.model.Run setResult
      INFO: Blah:blah-data-access #25 : result is set to FAILURE by
      hudson.model.Run.run(Run.java:533)
      Mar 4, 2007 4:35:10 PM hudson.model.Run run
      INFO: Blah:blah-data-access #25 main build action completed: FAILURE

      In short, it looks like the ../ isn't accounted-for. I can work around this by
      placing a modified pom.xml in the trunk directory.

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

              Created:
              Updated:
              Resolved: