Jenkins Windows slave connection getting terminated with java.nio.channels.ClosedChannelException

前端 未结 9 1526
别跟我提以往
别跟我提以往 2021-01-04 09:32

While connecting to windows machine as slave, i am getting following error i think its some network related issue, but need some help where to start looking or what is a pos

9条回答
  •  迷失自我
    2021-01-04 09:50

    I experienced the same issue. I found out that the windows slave switched to a "sleep" mode specially if your jobs are not running against a GUI.

    • For windows... no move of the mouse or keyboard means no activity.

    Then to successfully solve it. On a Windows7 slave, here is what I did:

    • Control Panel\Hardware and Sound\Power Options
    • Show additionnal plans
    • select High performance

    • Control Panel\Hardware and Sound\Power Options\Edit Plan Settings

    • turn off display never
    • Change advanced power settings -->turn off hard disk after 10000 min

    Should be ok after this procedure

提交回复
热议问题