Error:
Service cannot be started. System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at winsw.Util.ProcessHelper.StartProcessAndCallbackForExit(Process processToStart, String executable, String arguments, Dictionary`2 envVars, String workingDirectory, Nullable`1 priority, ProcessCompletionCallback callback, Boolean redirectStdin, LogHandler logHandler, Boolean hideWindow)
at winsw.WrapperService.StartProcess(Process processToStart, String arguments, String executable, LogHandler logHandler, Boolean redirectStdin)
at winsw.WrapperService.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
https://serverfault.com/questions/1039864/jenkins-fails-to-start-on-windows-server-after-java-runtime-update-uninstalled-o
D:\Services\Jenkins\jenkins.xml
el error lo da el ejecutable
<executable>C:\Program Files (x86)\Java\jre1.8.0_341\\bin\java.exe</executable>
el motivo es que se actualizo la version de java y esto no es detectado por jenkins.
No comments:
Post a Comment