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

Categorizing of jenkins job failing


    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: cli
    • Labels:
    • Environment:
      Jenkins version - 2.121.2
    • Similar Issues:


      I wanted to add my Jenkins job into a particular category in view, we used jenkins-cli.jar for this (This is an automation). It was working earlier and since few weeks it stopped working and facing the below issue.


      [java] Exception in thread "main" java.io.EOFException
      [java] at java.io.DataInputStream.readFully(DataInputStream.java:197)
      [java] at java.io.DataInputStream.readUTF(DataInputStream.java:609)
      [java] at java.io.DataInputStream.readUTF(DataInputStream.java:564)
      [java] at hudson.cli.CLI.connectViaCliPort(CLI.java:225)
      [java] at hudson.cli.CLI.<init>(CLI.java:126)
      [java] at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
      [java] at hudson.cli.CLI._main(CLI.java:466)
      [java] at hudson.cli.CLI.main(CLI.java:382)
      [java] Suppressed: java.io.EOFException: unexpected stream termination
      [java] at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:331)
      [java] at hudson.remoting.Channel.<init>(Channel.java:421)
      [java] at hudson.remoting.Channel.<init>(Channel.java:400)
      [java] at hudson.remoting.Channel.<init>(Channel.java:396)
      [java] at hudson.remoting.Channel.<init>(Channel.java:385)
      [java] at hudson.remoting.Channel.<init>(Channel.java:377)
      [java] at hudson.remoting.Channel.<init>(Channel.java:353)
      [java] at hudson.cli.CLI.connectViaHttp(CLI.java:157)
      [java] at hudson.cli.CLI.<init>(CLI.java:130)
      [java] ... 3 more


      The only change made in project was the URL from HTTP to HTTPS. Will it cause the issue to happen ? If this is the issue how to make jenkins-cli.jar to work for HTTPS ? Please suggest.

      As an alternative way, I tried creating Jenkins job inside a view using cURL and I wanted the particular job inside a category. Moving a job inside category doesn't work here. Kindly help.




          There are no comments yet on this issue.


            • Assignee:
              cashlalala KaiHsiang Chang
              dineshkumar_n Dinesh
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: