我们使用redhat openshift作为测试和构建代码的解决方案 詹金斯跑了很长一段时间,但现在却因错误而停止......
这是我收到的错误消息:
[exec] remote: Executing Jenkins build.[K
[exec] remote:
[exec] remote: You can track your build at https://jenkins-myproject.rhcloud.com/job/myjob-build[K
[exec] remote:
[exec] remote: Waiting for build to schedule....................................................................................[K
[exec] remote: **BUILD FAILED/CANCELLED**[K
[exec] remote: Please see the Jenkins log for more details via 'rhc tail'[K
[exec] remote: !!!!!!!![K
[exec] remote: Deployment Halted![K
[exec] remote: If the build failed before the deploy step, your previous[K
[exec] remote: build is still running. Otherwise, your application may be[K
[exec] remote: partially deployed or inaccessible.[K
[exec] remote: Fix the build and try again.[K
[exec] remote: !!!!!!!![K
[exec] remote: An error occurred executing 'gear postreceive' (exit code: 1)[K
[exec] remote: Error message: CLIENT_ERROR: Failed to execute: 'control post-receive' for /var/lib/openshift/56asdf899weersdfd5/jenkins-client[K
[exec] remote:
[exec] remote: For more details about the problem, try running the command again with the '--trace' option.[K
[exec] To ssh://56asdf899weersdfd5@myproject-itproject.rhcloud.com/~/git/myproject.git
[exec] 4102ab5..3291140 master -> master
Jenkins doens甚至看到了一份正在运转的工作和建议的RHC tail jenkins'只显示“建立成功”#39; (指前一个版本)
当我尝试直接从jenkins运行构建时,一切正常。它应该在我们直接提交到我们的git存储库时直接运行,但是这会失败。我们的代码已成功提交git,但Jenkins未能执行。
此外,当我推送到我们的git repo时,没有其他版本正在运行。
感谢您努力帮助我。
答案 0 :(得分:0)
好的,所以我决定问这个问题,因为我正在寻找几个小时的答案。
出于某种原因,构建器客户端已停止:重新启动&问题解决了。
答案 1 :(得分:0)
rhc tail jenkins