Jenkins无法识别HOMESHARE变量,远程从机调用失败

Jenkins无法识别HOMESHARE变量,远程从机调用失败,jenkins,Jenkins,我不确定,这是否是向詹金斯提问的正确社区——如果不是,请随意提出问题 我正在尝试将本地计算机作为本地从属添加到现有作业。我的问题是我无法使作业运行,因为我收到一个远程调用失败异常。正如EnvInject告诉我的那样,两个变量刚好缺少我上面的那一行,尽管那里可能有联系。但是当我查看环境变量时,变量设置正确,并且我有读写权限。那么,远程调用失败的原因还可能是什么呢?Stacktrace没有告诉我多少: C:\Temp\test_slave>exit 0 [EnvInject] - Scrip

我不确定,这是否是向詹金斯提问的正确社区——如果不是,请随意提出问题

我正在尝试将本地计算机作为本地从属添加到现有作业。我的问题是我无法使作业运行,因为我收到一个远程调用失败异常。正如EnvInject告诉我的那样,两个变量刚好缺少我上面的那一行,尽管那里可能有联系。但是当我查看环境变量时,变量设置正确,并且我有读写权限。那么,远程调用失败的原因还可能是什么呢?Stacktrace没有告诉我多少:

C:\Temp\test_slave>exit 0 
[EnvInject] - Script executed successfully.
[EnvInject] - Injecting contributions.
Building remotely on test_slave (win_test) in workspace C:\Temp\test_slave\workspace\<job>
[EnvInject] - Unset unresolved 'HOMESHARE' variable.
[EnvInject] - Unset unresolved 'pkidata' variable.
RTC : checkout...
FATAL: RTC : checkout failure: remote file operation failed: C:\Temp\test_slave\workspace\<job> at hudson.remoting.Channel@1453477:test_slave: java.io.IOException: Remote call on test_slave failed
java.io.IOException: remote file operation failed: C:\Temp\test_slave\workspace\<job> at hudson.remoting.Channel@1453477:test_slave: java.io.IOException: Remote call on test_slave failed
    at hudson.FilePath.act(FilePath.java:986)
    at hudson.FilePath.act(FilePath.java:968)
    at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:1606)
    at hudson.scm.SCM.checkout(SCM.java:485)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
    at hudson.model.Run.execute(Run.java:1738)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:410)
Caused by: java.io.IOException: Remote call on test_slave failed
    at hudson.remoting.Channel.call(Channel.java:789)
    at hudson.FilePath.act(FilePath.java:979)
    ... 11 more
Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/OperationCanceledException
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
    at java.lang.Class.getConstructor0(Class.java:3075)
    at java.lang.Class.newInstance(Class.java:412)
    at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory.newFacade(RTCFacadeFactory.java:240)
    at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory.getFacade(RTCFacadeFactory.java:71)
    at com.ibm.team.build.internal.hjplugin.RTCBuildResultSetupTask.invoke(RTCBuildResultSetupTask.java:120)
    at com.ibm.team.build.internal.hjplugin.RTCBuildResultSetupTask.invoke(RTCBuildResultSetupTask.java:38)
    at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
    at hudson.remoting.UserRequest.perform(UserRequest.java:120)
    at hudson.remoting.UserRequest.perform(UserRequest.java:48)
    at hudson.remoting.Request$2.run(Request.java:326)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at hudson.remoting.Engine$1$1.run(Engine.java:62)
    at java.lang.Thread.run(Thread.java:745)
    at ......remote call to test_slave(Native Method)
    at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
    at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
    at hudson.remoting.Channel.call(Channel.java:781)
    ... 12 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.OperationCanceledException
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at com.ibm.team.build.internal.hjplugin.RTCFacadeClassLoader.loadClass(RTCFacadeClassLoader.java:81)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
    at java.lang.Class.getConstructor0(Class.java:3075)
    at java.lang.Class.newInstance(Class.java:412)
    at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory.newFacade(RTCFacadeFactory.java:240)
    at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory.getFacade(RTCFacadeFactory.java:71)
    at com.ibm.team.build.internal.hjplugin.RTCBuildResultSetupTask.invoke(RTCBuildResultSetupTask.java:120)
    at com.ibm.team.build.internal.hjplugin.RTCBuildResultSetupTask.invoke(RTCBuildResultSetupTask.java:38)
    at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
    at hudson.remoting.UserRequest.perform(UserRequest.java:120)
    at hudson.remoting.UserRequest.perform(UserRequest.java:48)
    at hudson.remoting.Request$2.run(Request.java:326)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at hudson.remoting.Engine$1$1.run(Engine.java:62)
    at java.lang.Thread.run(Thread.java:745)
ERROR: RTC : checkout failure: remote file operation failed: C:\Temp\test_slave\workspace\GETRAG\GG-ECMot_AP_0160A_DEV_IFX~SlaveBuild at hudson.remoting.Channel@1453477:test_slave: java.io.IOException: Remote call on test_slave failed
Performing Post build task...
Could not match :Code generation phase  : False
Logical operation result is FALSE
C:\Temp\test\u slave>退出0
[EnvInject]-脚本已成功执行。
[环境]-注入贡献。
在工作区C:\Temp\test\u slave\workspace中的测试从机(win\u test)上远程构建\
[EnvInject]-未设置未解析的“HOMESHARE”变量。
[EnvInject]-未设置未解析的“pkidata”变量。
RTC:签出。。。
致命:RTC:签出失败:远程文件操作失败:C:\Temp\test\u slave\workspace\at hudson.remoting。Channel@1453477:test_slave:java.io.IOException:远程调用test_slave失败
java.io.IOException:远程文件操作失败:位于hudson.remoting的C:\Temp\test\u slave\workspace\。Channel@1453477:test_slave:java.io.IOException:远程调用test_slave失败
在hudson.FilePath.act(FilePath.java:986)
在hudson.FilePath.act(FilePath.java:968)
位于com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:1606)
在hudson.scm.scm.checkout(scm.java:485)
在hudson.model.AbstractProject.checkout(AbstractProject.java:1269)上
位于hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
位于jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
位于hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
在hudson.model.Run.execute(Run.java:1738)
运行(FreeStyleBuild.java:43)
在hudson.model.ResourceController.execute(ResourceController.java:98)
运行(Executor.java:410)
原因:java.io.IOException:对测试从机的远程调用失败
在hudson.remoting.Channel.call(Channel.java:789)
位于hudson.FilePath.act(FilePath.java:979)
... 还有11个
原因:java.lang.NoClassDefFoundError:org/eclipse/core/runtime/OperationCanceledException
位于java.lang.Class.getDeclaredConstructors0(本机方法)
位于java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
位于java.lang.Class.getConstructor0(Class.java:3075)
位于java.lang.Class.newInstance(Class.java:412)
位于com.ibm.team.build.internal.hjplugin.RTCFacadeFactory.newFacade(RTCFacadeFactory.java:240)
位于com.ibm.team.build.internal.hjplugin.RTCFacadeFactory.getFacade(RTCFacadeFactory.java:71)
位于com.ibm.team.build.internal.hjplugin.RTCBuildResultSetupTask.invoke(RTCBuildResultSetupTask.java:120)
位于com.ibm.team.build.internal.hjplugin.RTCBuildResultSetupTask.invoke(RTCBuildResultSetupTask.java:38)
位于hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
在hudson.remoting.UserRequest.perform(UserRequest.java:120)
在hudson.remoting.UserRequest.perform(UserRequest.java:48)
在hudson.remoting.Request$2.run(Request.java:326)
在hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
在java.util.concurrent.FutureTask.run(FutureTask.java:266)处
位于java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
位于java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
在hudson.remoting.Engine$1$1.run(Engine.java:62)
运行(Thread.java:745)
at……远程调用test_slave(本机方法)
位于hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
位于hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
在hudson.remoting.Channel.call(Channel.java:781)
... 还有12个
原因:java.lang.ClassNotFoundException:org.eclipse.core.runtime.OperationCanceledException
位于java.net.URLClassLoader.findClass(URLClassLoader.java:381)
位于java.lang.ClassLoader.loadClass(ClassLoader.java:424)
位于com.ibm.team.build.internal.hjplugin.RTCFacadeClassLoader.loadClass(RTCFacadeClassLoader.java:81)
位于java.lang.ClassLoader.loadClass(ClassLoader.java:357)
位于java.lang.Class.getDeclaredConstructors0(本机方法)
位于java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
位于java.lang.Class.getConstructor0(Class.java:3075)
位于java.lang.Class.newInstance(Class.java:412)
位于com.ibm.team.build.internal.hjplugin.RTCFacadeFactory.newFacade(RTCFacadeFactory.java:240)
位于com.ibm.team.build.internal.hjplugin.RTCFacadeFactory.getFacade(RTCFacadeFactory.java:71)
位于com.ibm.team.build.internal.hjplugin.RTCBuildResultSetupTask.invoke(RTCBuildResultSetupTask.java:120)
位于com.ibm.team.build.internal.hjplugin.RTCBuildResultSetupTask.invoke(RTCBuildResultSetupTask.java:38)
位于hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
在hudson.remoting.UserRequest.perform(UserRequest.java:120)
在hudson.remoting.UserRequest.perform(UserRequest.java:48)
在hudson.remoting.Request$2.run(Request.java:326)
在hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
在java.util.concurrent.FutureTask.run(FutureTask.java:266)处
位于java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
位于java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
在hudson.remoting.Engine$1$1.run(Engine.java:62)
运行(Thread.java:745)
错误:RTC:签出失败:远程文件操作失败:C:\Temp\test\u slave\workspace\GETRAG\GG-ECMot\u AP\u 0160A\u DEV\u IFX~SlaveBuild at hudson.remoting。Channel@1453477:test_slave:java.io.IOException:Remote c
HOMESHARE    \\<server>\<user>$
[...]
pkidata    \\<server>\<user>$
Nov 23, 2016 10:49:29 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://<address>.com:8080/]
Nov 23, 2016 10:49:29 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Nov 23, 2016 10:49:29 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to <address>.com:49599
Nov 23, 2016 10:49:29 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP2-connect
Nov 23, 2016 10:49:29 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected