OK, I was calling main method in hudson.remoting.jnlp.Main
set PR_STARTCLASS=hudson.remoting.jnlp.Main
Now im calling main method in hudson.remoting.Launcher and the service
starts.
But when I stop the service it does not stop correctly because there is no
stop method inside Launcher.
Is there
At the node i got only
java -jar agent.jar -jnlpUrl
http://172.22.100.251/jenkins/computer/172.19.146.11/slave-agent.jnlp
without any other parameter.
and the slave starts with no problem when I test it on the command line.
Am Dienstag, 28. November 2017 19:29:47 UTC+1 schrieb itchymuzzle
Go to Jenkins server, select the node you have defined for this Windows
instance. It will give you the command you need to run, on the command
line.
Test that that works on the command line, then figure our how to get
procron to do that for you.
The command will look something like this (
I used procrun to generate the service
This is my configuration file:
set SERVICE_NAME=jenkinsTest99
set PR_INSTALL=g:\jenkins\test\prunsrv.exe
REM Service log configuration
set PR_LOGPREFIX=%SERVICE_NAME%
set PR_LOGPATH=c:\logs
set PR_STDOUTPUT=c:\logs\stdout.txt
set PR_STDERROR=c:\logs\stderr.
I used procrun to generate the service
This is my configuration file:
set SERVICE_NAME=jenkinsTest99
set PR_INSTALL=g:\jenkins\test\prunsrv.exe
REM Service log configuration
set PR_LOGPREFIX=%SERVICE_NAME%
set PR_LOGPATH=c:\logs
set PR_STDOUTPUT=c:\logs\stdout.txt
set PR_STDERROR=c:\logs\stderr.
Not clear what command you used.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the we
I'm trying to start Jenkins slave as a windows service, but I get the
following error.
which second argument is required here?
2017-11-28 16:02:01 Commons Daemon procrun stderr initialized
two arguments required, but got
[url=http://111.11.11.111/jenkins/computer/222.22.22.2/slave-agent.jnlp]
ja