• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cli

      I keep running into this. It's not a consistent behavior as the same CLI command passes/fails randomly.

      The command from CLI is: java -jar jenkins-cli.jar -s http://my-URL build job_name --username "admn" --password "admn1234" -p p1=$var p2=$othervar -w

      And here's the obtained error:
      May 11, 2015 3:04:05 PM WARNING org.jenkinsci.main.modules.cli.auth.ssh.SshCliAuthenticator authenticate
      CLI authentication failure
      java.io.EOFException
      at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323)
      at java.io.DataInputStream.readUTF(DataInputStream.java:572)
      at java.io.DataInputStream.readUTF(DataInputStream.java:547)
      at hudson.cli.Connection.readUTF(Connection.java:85)
      at hudson.cli.Connection.verifyIdentity(Connection.java:244)
      at org.jenkinsci.main.modules.cli.auth.ssh.SshCliAuthenticator.authenticate(SshCliAuthenticator.java:39)
      at hudson.cli.CliManagerImpl$2.run(CliManagerImpl.java:109)

          [JENKINS-28346] Inconsistent CLI failiures

          Raymond Accary created issue -
          Raymond Accary made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Raymond Accary made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Raymond Accary made changes -
          Priority Original: Blocker [ 1 ] New: Minor [ 4 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 163182 ] New: JNJira + In-Review [ 181127 ]

            Unassigned Unassigned
            raccary Raymond Accary
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: