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

Maven alternative settings seems confused about the structure of the workspace

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • maven-plugin
    • None

      My job is set to check out a svn URL to a specified directory in the workspace. That is, http://....../trunk checks out to 'gloop'.

      I have a settings.xml checked in as trunk/etc/hudson-settings.xml.

      So, in the workspace, my settings file is located at gloop/etc/hudson-settings.xml.

      If I enter gloop/etc/hudson-settings.xml, I get a red warning that the file does not exist. If I enter just etc/hudson-settings.xml, not warning, but it doesn't work.

          [JENKINS-5627] Maven alternative settings seems confused about the structure of the workspace

          bimargulies added a comment -

          It gets worse. If I make the path gloop/etc/hudson-settings.xml, the the build fails trying to find gloop/gloop/etc/hudson-settings.xml.

          ERROR: No such settings file /home/hudson/workspace/etrog/rse/rse/etc/hudson-settings.xml exists
          Please verify that your alternate settings file is specified properly and exists in the workspace.

          If I leave off the gloop, I get

          WARNING: Alternate user settings file: /home/hudson/workspace/etrog/etc/hudson-settings.xml is invalid. Using default path.

          bimargulies added a comment - It gets worse. If I make the path gloop/etc/hudson-settings.xml, the the build fails trying to find gloop/gloop/etc/hudson-settings.xml. ERROR: No such settings file /home/hudson/workspace/etrog/rse/rse/etc/hudson-settings.xml exists Please verify that your alternate settings file is specified properly and exists in the workspace. If I leave off the gloop, I get WARNING: Alternate user settings file: /home/hudson/workspace/etrog/etc/hudson-settings.xml is invalid. Using default path.

          bimargulies added a comment -

          I see that this is a dup. Sorry.

          bimargulies added a comment - I see that this is a dup. Sorry.

          evernat added a comment -

          you were right, this is a duplicate of JENKINS-6080 with other similar issues

          evernat added a comment - you were right, this is a duplicate of JENKINS-6080 with other similar issues

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

              Created:
              Updated:
              Resolved: