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

Maven proxy settings alters the hudson proxy settings

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

      the maven proxy settings were affecting the subversion settings.

      How to replicate:

      Put proxy settings on maven settings.xml -file. For example:

        <proxy>
            <active>true</active>
            <protocol>http</protocol>
            <host>foobar.com</host>
            <port>12345</port>
      
            <nonProxyHosts></nonProxyHosts>
          </proxy>
      

      Before running any jobs check the Manage Hudson / system informations -> No proxy defined

      Then execute maven job.

      After the job execution, check the system informations -> proxy defined from the maven settings.xml

          [JENKINS-6736] Maven proxy settings alters the hudson proxy settings

          just had this started happening on my Hudson/Jenkins builds.

          very annoying, till I found the culprit file and added extra nonProxyHosts. For some odd reason some builds go through before Hudson/Jenkins picks up the maven settings and then its stuck with them.

          william dutton added a comment - just had this started happening on my Hudson/Jenkins builds. very annoying, till I found the culprit file and added extra nonProxyHosts. For some odd reason some builds go through before Hudson/Jenkins picks up the maven settings and then its stuck with them.

          Also affect Jira/Maven/Subversion etc.

          william dutton added a comment - Also affect Jira/Maven/Subversion etc.

          Olivier Lamy added a comment -

          yup maven wagon change sysprops (bad ! )

          Olivier Lamy added a comment - yup maven wagon change sysprops (bad ! )

          Daniel Beck added a comment -

          Maven Project plugin issue.

          Daniel Beck added a comment - Maven Project plugin issue.

            Unassigned Unassigned
            joukojo joukojo
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: