• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • swarm-plugin
    • None

      The swarm plugin doesn't support authentication yet. This means that it won't work with a locked-down Hudson. It would be nice if the appropriate options could be added to the swarm jar file.

          [JENKINS-5504] Allow authentication in swarm plugin

          brunken added a comment - - edited

          I solved this issue by adding some additional command line parameters to the plugin and i also changed the post method settings, now it authenticate on hudson. It worked fine on our Corporate Hudson, wich is locked tight with LDAP.
          Also, I changed the -master method, instead just a server name, I changed to work with the complete Hudson Path with port, like http://server:8080/hudson because it was not working on Tomcat or Winston.

          brunken added a comment - - edited I solved this issue by adding some additional command line parameters to the plugin and i also changed the post method settings, now it authenticate on hudson. It worked fine on our Corporate Hudson, wich is locked tight with LDAP. Also, I changed the -master method, instead just a server name, I changed to work with the complete Hudson Path with port, like http://server:8080/hudson because it was not working on Tomcat or Winston.

          Code changed in hudson
          User: : brunken
          Path:
          trunk/hudson/plugins/swarm/client/src/main/java/hudson/plugins/swarm/Client.java
          http://jenkins-ci.org/commit/35600
          Log:
          JIRA ISSUE #JENKINS-5504
          Added -username and -password, changed -master parameter to accept the complete hudson url.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : brunken Path: trunk/hudson/plugins/swarm/client/src/main/java/hudson/plugins/swarm/Client.java http://jenkins-ci.org/commit/35600 Log: JIRA ISSUE # JENKINS-5504 Added -username and -password, changed -master parameter to accept the complete hudson url.

          Code changed in hudson
          User: : brunken
          Path:
          trunk/hudson/plugins/swarm/client/pom.xml
          http://jenkins-ci.org/commit/35601
          Log:
          Added commons-httpclient for JIRA ISSUE #JENKINS-5504

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : brunken Path: trunk/hudson/plugins/swarm/client/pom.xml http://jenkins-ci.org/commit/35601 Log: Added commons-httpclient for JIRA ISSUE # JENKINS-5504

          brunken added a comment -

          Added -username and -password parameters
          Changed -master url , now it requires the complete url path, like http://server:8080/hudson to solve some url problems.

          brunken added a comment - Added -username and -password parameters Changed -master url , now it requires the complete url path, like http://server:8080/hudson to solve some url problems.

          closing

          Peter Jönsson added a comment - closing

            mindjiver Peter Jönsson
            larsko larsko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: