【问题标题】:rvm_debug breaks teamcity agentrvm_debug 破坏了 teamcity 代理
【发布时间】:2014-09-24 09:27:36
【问题描述】:

我在 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 设置为空字符串。

你们有更好的主意吗?

【问题讨论】:

    标签: rvm teamcity teamcity-8.0


    【解决方案1】:

    我遇到了类似的问题。我将此添加到 .bash_profile 的末尾

    rvm_debug() { echo; }
    export -f rvm_debug
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-09-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多