Jenkins slave jobs failing on “Unexpected termination of channel”

后端 未结 10 1256
梦毁少年i
梦毁少年i 2020-12-24 10:42

I am currently seeing a set of errors across my builds.

Is this expected behaviour if you loose Jenkins (say to a box crash, or a kill -9)?

Or is there somet

10条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 11:43

    Since 1.520, Jenkins requires Java 6 or later, one of the possibility of this error is that you dont have java 6 or later on slave/remote. Resolution is to update your remote machine with java 6 or later or set correct environment variable which SSH uses while it logs in into slave machine.

提交回复
热议问题