我在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
设置为空字符串。
你们有更好的主意吗?
答案 0 :(得分:1)
我有类似的问题。我将此添加到.bash_profile
的末尾rvm_debug() { echo; }
export -f rvm_debug