我有一个通过远程参数化作业插件在远程服务器上运行的作业。我的下游作业正在被触发并且正在被传递,但是上游作业的状态显示失败。以下是日志
Triggering remote job now.
Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
Checking parameters of #94
This job is build #[94] on the remote server.
Blocking local job until remote job completes
Remote build started!
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
Waiting for remote build to finish.
Waiting for 10 seconds until next poll.
connect timed out
Connection to remote server failed, waiting for to retry - 10 seconds until next attempt.
Retry attempt #1 out of 5
connect timed out
Connection to remote server failed, waiting for to retry - 10 seconds until next attempt.
Retry attempt #2 out of 5
connect timed out
Connection to remote server failed, waiting for to retry - 10 seconds until next attempt.
Retry attempt #3 out of 5
connect timed out
Connection to remote server failed, waiting for to retry - 10 seconds until next attempt.
Retry attempt #4 out of 5
connect timed out
Connection to remote server failed, waiting for to retry - 10 seconds until next attempt.
Retry attempt #5 out of 5
connect timed out
ERROR: Remote build failed for the following reason:
ERROR: Max number of connection retries have been exeeded.
Finished: FAILURE
答案1
该日志意味着 jenkins master 与远程服务器失去连接,这意味着无法读取从属作业返回。查看日志和其他配置 - 作业如何执行等...