When building the connection URI in Hypervisor.java, the query parameter "?no_tty=1" is always appended. This does not take into account, that users might already have added their own parameters in the advanced settings already.

      E.g: In order to use a different SSH-key location and disable host-key verification, I use the following Hypervisor-System-URL:

      system?keyfile=/etc/jenkins/id_dsa_remoting&no_verify=1

      The attached patch fixes this by using '&' resp. '?' conditionally.

      Please note, that the patch also contains an update in the (rather old) plugin's pom.xml to make it build with current jenkins (and JDK 1.7).

          [JENKINS-14617] libvirt-slave builds broken connection URI

          Fritz Elfert created issue -
          Philipp Bartsch made changes -
          Assignee Original: mmornati [ mmornati ] New: Philipp Bartsch [ tastybug ]
          Philipp Bartsch made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Philipp Bartsch made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          G. Kr. made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145313 ] New: JNJira + In-Review [ 206023 ]

            tastybug Philipp Bartsch
            felfert Fritz Elfert
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: