詹金斯工作失败,但执行通过

时间:2019-12-19 06:43:25

标签: jenkins adoptopenjdk

我有一个詹金斯工作,如果我使用AdoptOpen JRE 8会失败,但是如果我切换到AdoptOpen JDK8,则会通过相同的工作。

    [XYZ Executor]: [XYZ Executor]: ========================================================
[XYZ Executor]: ============== Ending XYZ Executor ==============
[XYZ Executor]: ========================================================[XYZ Executor]: =================== Status: Passed =====================
[XYZ Executor]: ========================================================
[XYZ Executor]: FATAL: Remote call on JNLP4-connect connection from xx.xx.xx.xx/xx.xx.xx.xx:55894 failed
    Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from xx.xx.xx.xx/xx.xx.xx.xx:55894               at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)               at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)               at hudson.remoting.Channel.call(Channel.java:957)               at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1086)               at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)               at hudson.model.Run.execute(Run.java:1815)               at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)               at hudson.model.ResourceController.execute(ResourceController.java:97)               at hudson.model.Executor.run(Executor.java:429)java.lang.NoClassDefFoundError: Could not initialize class hudson.slaves.SlaveComputer        at hudson.util.ProcessTree.get(ProcessTree.java:414)        at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1103)        at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1094)        at hudson.remoting.UserRequest.perform(UserRequest.java:212)        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:93)        at java.lang.Thread.run(Unknown Source)Caused: java.io.IOException: Remote call on JNLP4-connect connection from xx.xx.xx.xx/xx.xx.xx.xx:55894 failed        at hudson.remoting.Channel.call(Channel.java:963)        at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1086)        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)        at hudson.model.Run.execute(Run.java:1815)        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)        at hudson.model.ResourceController.execute(ResourceController.java:97)        at hudson.model.Executor.run(Executor.java:429)Archiving artifactsPerforming Post build task...Match found for :.* : TrueLogical operation result is TRUERunning script  : cd\ mkdir c:\hudsonsvn export http://scm.automatedtesting.xyz.corp/svn/sandbox/abcd/Install/ProcessCleanUp.batProcessCleanUp.batcd\rd "c:\hudson" /s /q[XYZ PreRelease 1801M - FRN - HA - PatEdExit] $ cmd /c call C:\Users\xyz\AppData\Local\Temp\3\jenkins15737475371786654299.bat C:\Jenkins\workspace\FirstNet\XYZ PreRelease 1801M - FRN - HA - PatEdExit>cd\   C:\>mkdir c:\hudson A subdirectory or file c:\hudson already exists. C:\>svn export http://scm.automatedtesting.xyz.corp/svn/sandbox/abc/Install/ProcessCleanUp.bat svn: E200009: Destination file 'ProcessCleanUp.bat' exists, and will not be overwritten unless forced C:\>ProcessCleanUp.bat 
    SUCCESS: The process "ShellExperienceHost.exe" with PID 7312 has been terminated.  
    SUCCESS: The process "SearchUI.exe" with PID 12892 has been terminated.  
    SUCCESS: The process "TSExecutionServer.exe" with PID 16512 has been terminated.  
    SUCCESS: The process "TestExecute.exe" with PID 16296 has been terminated.  
    SUCCESS: The process "SCNotification.exe" with PID 6504 has been terminated.
    SUCCESS: The process "SCNotification.exe" with PID 8896 has been terminated.  
    SUCCESS: The process "taskhostw.exe" with PID 14340 has been terminated.
    SUCCESS: The process "taskhostw.exe" with PID 9184 has been terminated. 
    POST BUILD TASK : SUCCESSEND OF POST BUILD TASK : 0
    Sending e-mails to: xxxxxx.xxx@xyz.com
    Finished: FAILURE  

任何想法!

0 个答案:

没有答案