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>

  • 相关阅读:
    Android应用开发学习笔记之事件处理
    [置顶] 炎炎夏日,给你一次极爽的开发体验!——统一开发环境功能升级优化,正式上线V2.0!
    POJ 3468 A Simple Problem with Integers (伸展树区间更新求和操作 , 模板)
    京东商城发现了一枚Bug
    iOS_40_核心动画
    SVN——库合并
    ORACLE 8i 遇到报错:ORA-01631: max # extents (505) reached in table
    HDU 5366:The mook jong 递推
    Linux平台下裸设备的绑定:
    CSP:使用CryptoAPI解码X509证书内容
  • 原文地址:https://www.cnblogs.com/tython/p/12616635.html
Copyright © 2011-2022 走看看