我有两个“相同”的詹金斯奴隶,第一个工作正常。第二个得到这个最无益的错误:
At revision 168565
FATAL: null
java.lang.NullPointerException
at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:1299)
at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:1277)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2461)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:328)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at hudson.remoting.Engine$1$1.run(Engine.java:63)
at java.lang.Thread.run(Thread.java:722)
有没有人见过这个并找到了解决方案?我在源代码控制Subversion的更新后发生。
答案 0 :(得分:0)
将Jenkins升级到1.551并且以下插件似乎解决了这个问题
Subversion Plug-in 2.2
This plugin adds the Subversion support (via SVNKit) to Jenkins.
SCM API Plugin 0.2
This plugin provides a new enhanced API for interacting with SCM systems.
答案 1 :(得分:0)
尝试获取兼容版本的svn插件,并确保您的奴隶具有相同版本的客户端,或者选择"管理Jenkins"匹配客户端版本。
at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:1299)
at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:1277)