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

Maven alternative settings seems confused about the structure of the workspace

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            bimargulies 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.

            Show
            bimargulies 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.
            Hide
            bimargulies bimargulies added a comment -

            I see that this is a dup. Sorry.

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

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

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

              People

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

                Dates

                Created:
                Updated:
                Resolved: