rvm_debug打破了teamcity代理

时间:2014-09-24 09:27:37

标签: rvm teamcity teamcity-8.0

我在ubuntu 14.04上运行teamcity构建代理,当我今天启动代理时,我收到以下错误:

RPC2 buildServer.registerAgent3: org.apache.xmlrpc.XmlRpcException: java.lang.RuntimeException: org.jdom.input.JDOMParseException: Error on line 28: XML document structures must start and end within the same entity. jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://teamcityserver:8080/RPC2 buildServer.registerAgent3: org.apache.xmlrpc.XmlRpcException: java.lang.RuntimeException: org.jdom.input.JDOMParseException: Error on line 28: XML document structures must start and end within the same entity.

我发现env.rvm_debug变量设置为teamcity编码xml的问题的值,为了解决这个问题,我更新了代理程序conf并将env.rvm_debug设置为空字符串。

你们有更好的主意吗?

1 个答案:

答案 0 :(得分:1)

我有类似的问题。我将此添加到.bash_profile

的末尾
rvm_debug() { echo; }
export -f rvm_debug
相关问题