zoukankan      html  css  js  c++  java
  • Jenkins集成时报错 hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx:32034

    Started by user test
    Running as SYSTEM
    Building remotely on home_windows (mbhCloud_UI_Test) in workspace E:Jenkins_Slave_HomeworkspacembhCloud_UI
    Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 218.203.237.101/218.203.237.101:32034
    		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
    		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
    		at hudson.remoting.Channel.call(Channel.java:998)
    		at hudson.FilePath.act(FilePath.java:1069)
    		at hudson.FilePath.act(FilePath.java:1058)
    		at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:927)
    		at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:857)
    		at hudson.scm.SCM.checkout(SCM.java:505)
    		at hudson.model.AbstractProject.checkout(AbstractProject.java:1206)
    		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
    		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
    		at hudson.model.Run.execute(Run.java:1880)
    		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    		at hudson.model.ResourceController.execute(ResourceController.java:97)
    		at hudson.model.Executor.run(Executor.java:428)
    java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins
    	at hudson.scm.SubversionSCM.descriptor(SubversionSCM.java:2561)
    	at hudson.scm.SubversionSCM.createDefaultSVNOptions(SubversionSCM.java:1086)
    	at hudson.scm.SubversionSCM.createClientManager(SubversionSCM.java:1076)
    	at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:1003)
    	at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:980)
    	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3073)
    	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
    	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
    	at hudson.remoting.Request$2.run(Request.java:369)
    	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    	at java.util.concurrent.FutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117)
    	at java.lang.Thread.run(Unknown Source)
    Caused: java.io.IOException: Remote call on JNLP4-connect connection from 218.203.237.101/218.203.237.101:32034 failed
    	at hudson.remoting.Channel.call(Channel.java:1004)
    	at hudson.FilePath.act(FilePath.java:1069)
    	at hudson.FilePath.act(FilePath.java:1058)
    	at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:927)
    	at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:857)
    	at hudson.scm.SCM.checkout(SCM.java:505)
    	at hudson.model.AbstractProject.checkout(AbstractProject.java:1206)
    	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
    	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
    	at hudson.model.Run.execute(Run.java:1880)
    	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    	at hudson.model.ResourceController.execute(ResourceController.java:97)
    	at hudson.model.Executor.run(Executor.java:428)
    Finished: FAILURE

    解决办法:

    打开代理路径:例如E:Jenkins_Slave_Home

    在Jenkins Slave上找到jenkins的安装目录下面的jenkins-slave.xml文件,增加参数‘-Xmx1024m ’,然后重启jenkins agent服务,参数修改如下

     

    <arguments>-Xmx1024m -Xrs  -jar "%BASE%slave.jar" -jnlpUrl http://123.56.77.191:8080/computer/home_windows/slave-agent.jnlp -secret c51d49f492ba32dec9a20da86c0e919a663b5f6c6c5cd2a4c3583c48405e7a05</arguments>

  • 相关阅读:
    VC各种链接错的解决办法【转】http://www.2cto.com/kf/201203/124100.html
    error LNK2019: 无法解析的外部符号 _XXX,该符号在函数 XXX 中被引用
    CVTRES : fatal error CVT1100: 资源重复。类型: BITMAP LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
    C++控制台没有引用的头文件也会编译的原因
    关于VS2008编译错误"error LNK2005: 已经在 .obj 中定义" 【转】http://akheyun.blog.163.com/blog/static/138249276201062221452697/
    IIS下PHP的ISAPI和FastCGI比较
    VC++常规错误1>nafxcwd.lib(afxmem.obj) 【转】
    不能将参数 2 从“const char *”转换为“LPCWSTR”【转】http://blog.sina.com.cn/s/blog_4a94a0db0100ktxp.html
    深入探究VC —— 编译器cl.exe(1)【转】http://blog.csdn.net/wangningyu/article/details/4830920
    Asp.net MVC Routing Debugger的使用
  • 原文地址:https://www.cnblogs.com/tython/p/12616635.html
Copyright © 2011-2022 走看看