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

Unable to use alternate settings file after upgrading to Hudson 1.352

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After upgrading a recent Hudson installation to 1.352, I'm unable to use an alternate settings.xml file. See the log:


      <===[HUDSON REMOTING CAPACITY]===>channel started
      Executing Maven: -B -f c:\hudson-slave\workspace\my-job-name\pom.xml -s ../wde/config/maven/settings.xml clean install -X

      WARNING: Alternate user settings file: ../wde/config/maven/settings.xml is invalid. Using default path.

      Please note that I want to use the file that exists at:

      c:\wde\config\maven\settings.xml

      So, I have configured the field 'Alternate settings file' to have this value:
      ../../../wde/config/maven/settings.xml

      The help text says that 'This path is relative to the workspace root.'

      I guess the workspace root in my case is:
      c:\hudson-slave\workspace\my-job-name\

      So, '../../../' would strip 3 directories, leading us to just 'c:'

      The issue also exists on version 1.351

        Attachments

          Issue Links

            Activity

            elifarley Elifarley created issue -
            elifarley Elifarley made changes -
            Field Original Value New Value
            Link This issue depends on JENKINS-5627 [ JENKINS-5627 ]
            elifarley Elifarley made changes -
            Description After upgrading a recent Hudson installation to 1.352, I receive this error message:

            WARNING: Alternate user settings file: ../wde/config/maven/settings.xml is invalid. Using default path.
            After upgrading a recent Hudson installation to 1.352, I receive this error message:

            WARNING: Alternate user settings file: ../wde/config/maven/settings.xml is invalid. Using default path.

            The issue also exists on version 1.351
            elifarley Elifarley made changes -
            Link This issue duplicates JENKINS-4693 [ JENKINS-4693 ]
            elifarley Elifarley made changes -
            Description After upgrading a recent Hudson installation to 1.352, I receive this error message:

            WARNING: Alternate user settings file: ../wde/config/maven/settings.xml is invalid. Using default path.

            The issue also exists on version 1.351
            After upgrading a recent Hudson installation to 1.352, I'm unable to use an alternate settings.xml file. See the log:

            ---
            <===[HUDSON REMOTING CAPACITY]===>channel started
            Executing Maven: -B -f c:\hudson-slave\workspace\my-job-name\pom.xml -s ../wde/config/maven/settings.xml clean install -X

            WARNING: Alternate user settings file: ../wde/config/maven/settings.xml is invalid. Using default path.
            ---

            Please note that I want to use the file that exists at:

            c:\wde\config\maven\settings.xml


            The issue also exists on version 1.351
            elifarley Elifarley made changes -
            Description After upgrading a recent Hudson installation to 1.352, I'm unable to use an alternate settings.xml file. See the log:

            ---
            <===[HUDSON REMOTING CAPACITY]===>channel started
            Executing Maven: -B -f c:\hudson-slave\workspace\my-job-name\pom.xml -s ../wde/config/maven/settings.xml clean install -X

            WARNING: Alternate user settings file: ../wde/config/maven/settings.xml is invalid. Using default path.
            ---

            Please note that I want to use the file that exists at:

            c:\wde\config\maven\settings.xml


            The issue also exists on version 1.351
            After upgrading a recent Hudson installation to 1.352, I'm unable to use an alternate settings.xml file. See the log:

            ---
            <===[HUDSON REMOTING CAPACITY]===>channel started
            Executing Maven: -B -f c:\hudson-slave\workspace\my-job-name\pom.xml -s ../wde/config/maven/settings.xml clean install -X

            WARNING: Alternate user settings file: ../wde/config/maven/settings.xml is invalid. Using default path.
            ---

            Please note that I want to use the file that exists at:

            c:\wde\config\maven\settings.xml

            So, I have configured the field 'Alternate settings file' to have this value:
            ../../../wde/config/maven/settings.xml

            the help text says that 'This path is relative to the workspace root.'

            I guess the workspace root in my case is:
            c:\hudson-slave\workspace\my-job-name\

            So, '../../../' would strip 3 directories, leading us to just 'c:'

            The issue also exists on version 1.351
            elifarley Elifarley made changes -
            Component/s master-slave [ 15489 ]
            Description After upgrading a recent Hudson installation to 1.352, I'm unable to use an alternate settings.xml file. See the log:

            ---
            <===[HUDSON REMOTING CAPACITY]===>channel started
            Executing Maven: -B -f c:\hudson-slave\workspace\my-job-name\pom.xml -s ../wde/config/maven/settings.xml clean install -X

            WARNING: Alternate user settings file: ../wde/config/maven/settings.xml is invalid. Using default path.
            ---

            Please note that I want to use the file that exists at:

            c:\wde\config\maven\settings.xml

            So, I have configured the field 'Alternate settings file' to have this value:
            ../../../wde/config/maven/settings.xml

            the help text says that 'This path is relative to the workspace root.'

            I guess the workspace root in my case is:
            c:\hudson-slave\workspace\my-job-name\

            So, '../../../' would strip 3 directories, leading us to just 'c:'

            The issue also exists on version 1.351
            After upgrading a recent Hudson installation to 1.352, I'm unable to use an alternate settings.xml file. See the log:

            ---
            <===[HUDSON REMOTING CAPACITY]===>channel started
            Executing Maven: -B -f c:\hudson-slave\workspace\my-job-name\pom.xml -s ../wde/config/maven/settings.xml clean install -X

            WARNING: Alternate user settings file: ../wde/config/maven/settings.xml is invalid. Using default path.
            ---

            Please note that I want to use the file that exists at:

            c:\wde\config\maven\settings.xml

            So, I have configured the field 'Alternate settings file' to have this value:
            ../../../wde/config/maven/settings.xml

            The help text says that 'This path is relative to the workspace root.'

            I guess the workspace root in my case is:
            c:\hudson-slave\workspace\my-job-name\

            So, '../../../' would strip 3 directories, leading us to just 'c:'

            The issue also exists on version 1.351
            abayer Andrew Bayer made changes -
            Component/s master-slave [ 15489 ]
            abayer Andrew Bayer made changes -
            Assignee abayer [ abayer ]
            abayer Andrew Bayer made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            abayer Andrew Bayer made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            ircbot Jenkins IRC Bot made changes -
            Component/s maven-plugin [ 16033 ]
            Component/s maven2 [ 15487 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 136173 ] JNJira + In-Review [ 203887 ]

              People

              Assignee:
              abayer Andrew Bayer
              Reporter:
              elifarley Elifarley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: