After OPE update we can not connect from slave agents


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 -i c:/jenkins/openssh_privatekey on-premise-executor -fsroot c:/jenkins/ope -labels win-01 -name instname remote file operation failed: c:/jenkins/ope at hudson.remoting.Channel@484e6d7e:CLI channel from /XXX.XXX.XXX.XXX: Remote call on CLI channel from /XXX.XXX.XXX.XXX failed
at hudson.FilePath.act(
at hudson.FilePath.act(

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.



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.

Have more questions? Submit a request


Please sign in to leave a comment.