We update our OPE and now, when connecting thru CLI for on premise executors, we have this error
java -jar c:/jenkins/jenkins-cli.jar -s https://instance.ci.cloudbees.com -i c:/jenkins/openssh_privatekey on-premise-executor -fsroot c:/jenkins/ope -labels win-01 -name instname java.io.IOException: remote file operation failed: c:/jenkins/ope at hudson.remoting.Channel@484e6d7e:CLI channel from /XXX.XXX.XXX.XXX: java.io.IOException: Remote call on CLI channel from /XXX.XXX.XXX.XXX failed at hudson.FilePath.act(FilePath.java:987) at hudson.FilePath.act(FilePath.java:969)
Due to a deployment issue the restart of your instance applied the upgrade before the communication was done.
Your instance is now running on a version 1.625.x of Jenkins which requires Java 7 and thus it is also required for OPEs.
- JRE 1.6.X and lower
You must upgrade of the JRE is mandatory in order to run jenkins-cli.jar.
You should update jenkins-cli.jar , it is recommended but not mandatory.
Your jobs could continue using other older versions of JDK, just you have it as tools.