我是Jenkins的新手,無論我嘗試從(Git,SVN等)中檢查代碼,我都會收到以下錯誤消息。我在Tomcat 6.0.37上使用了Jenkins 1.514和Oracle JDK 1.7.0_25,並且收到下面的錯誤消息。Jenkins構建問題
我已經下載並配置了相關的插件,並且檢查連接測試成功,所以我知道Jenkins能夠與存儲庫服務器進行通信。
我已經配置Jenkins使用相同版本的Java(1.6),Maven(3.0.5)和Ant(1.9.1)來在本地和Jenkins所在的遠程服務器上構建我的項目。但是,我認爲構建不會下載代碼。
我在做什麼錯?這可能是我用來啓動Jenkins運行的Tomcat服務器的JDK的某種問題嗎?
感謝, 肖恩
構建失敗,出現以下信息發送到控制檯:
FATAL: (class: org/apache/commons/codec/binary/Base64OutputStream, method: signature: (Ljava/io/OutputStream;ZI[B)V) Incompatible argument to function FATAL: (class: org/apache/commons/codec/binary/Base64OutputStream, method: signature: (Ljava/io/OutputStream;ZI[B)V) Incompatible argument to function Finished: null
日誌文件說:
Jul 16, 2013 2:17:31 PM hudson.model.listeners.RunListener report WARNING: RunListener failed java.lang.NullPointerException at hudson.model.PermalinkProjectAction$Permalink$3.apply(PermalinkProjectAction.java:134) at jenkins.model.PeepholePermalink$RunListenerImpl.onCompleted(PeepholePermalink.java:194) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) at hudson.model.Run.execute(Run.java:1625) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241)
Jul 16, 2013 2:17:31 PM hudson.model.Run onEndBuilding WARNING: McWebAccessWS #7: No build result is set, so marking as failure. This shouldn't happen. Jul 16, 2013 2:17:31 PM hudson.model.Executor run SEVERE: Executor threw an exception java.lang.VerifyError: (class: org/apache/commons/codec/binary/Base64OutputStream, method: signature: (Ljava/io/OutputSt ream;ZI[B)V) Incompatible argument to function at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:180) at hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:158) at hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:157) at hudson.util.StreamTaskListener._error(StreamTaskListener.java:132) at hudson.util.StreamTaskListener.fatalError(StreamTaskListener.java:149) at hudson.model.Run.handleFatalBuildProblem(Run.java:1659) at hudson.model.Run.execute(Run.java:1605) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241)