I am using this command for installing jenkins plugins
java -jar {{ jenkins_dir }}/jenkins-cli.jar -s http://localhost:{{ jenkins_port}} install-plugin {{ item }}
above command giving this error
SEVERE: I/O error in channel Chunked connection
This was worked fine with older versions but with v2 I am getting this error
I did some troubleshoot like
JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Djenkins.install.runSetupWizard=false -Dhudson.diyChunking=false
Still I am not able to success