> Does that not show the "Install as a Service" menu item?

No. The command windows shows the agent is connected but there is no pop-up 
with an "Install as a Service" menu item.

BR

David

From: [email protected] 
[mailto:[email protected]] On Behalf Of Slide
Sent: 04 October 2017 14:12
To: [email protected]
Subject: Re: Trouble running JNLP slave as a service in Windows 10

That page is for DCOM agents, not JNLP agents.

The easiest method to do this is to open an administrator console and then run 
the command you specified in your original email:

java -jar slave.jar -jnlpUrl 
http://<my-server>/computer/<my-node>/slave-agent.jnlp<http://%3cmy-server%3e/computer/%3cmy-node%3e/slave-agent.jnlp>
 -secret <my-secret>

Does that not show the "Install as a Service" menu item?

On Wed, Oct 4, 2017 at 5:02 AM Khomyuk Viktor 
<[email protected]<mailto:[email protected]>> wrote:

Hi. Install slave as service is not easy :)

Look at the 
https://wiki.jenkins.io/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM​

Start with "Enable Remote Registry Access".

One error will be replaced by another, but after some time you will achieve 
your goal.

________________________________
От: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> от 
имени David Aldrich 
<[email protected]<mailto:[email protected]>>
Отправлено: 4 октября 2017 г. 17:42
Кому: [email protected]<mailto:[email protected]>
Тема: Trouble running JNLP slave as a service in Windows 10

Hi

I want to install a JNLP slave as a service in Windows 10.

If I use the ‘easy’ method of going to the node page, from the slave machine, 
and clicking on the Launch button, the slave launches. But if I select ‘File > 
Install as a service’ I get an exception:

[cid:[email protected]]

I wonder if this is because I haven’t done it properly in administrator mode. 
But I did open an admin command prompt and ran my browser (Edge) from there.

Alternatively, I can start the slave from a command line using:

java -jar slave.jar -jnlpUrl 
http://<my-server>/computer/<my-node>/slave-agent.jnlp<http://%3cmy-server%3e/computer/%3cmy-node%3e/slave-agent.jnlp>
 -secret <my-secret> described at computer/<my-node>/

but that doesn’t allow me to run the agent as a service.

Please can anyone help me with this?

Best regards

David

--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/37b7943ef2a74239b0e23ad16cb70cde%40EUX13SRV1.EU.NEC.COM<https://groups.google.com/d/msgid/jenkinsci-users/37b7943ef2a74239b0e23ad16cb70cde%40EUX13SRV1.EU.NEC.COM?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1507115712914.83840%402Gis.ru<https://groups.google.com/d/msgid/jenkinsci-users/1507115712914.83840%402Gis.ru?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVc0yytZF%2B%2BC68PKMhp1maOiKr-3Tgts2xrp2vumJHZHoA%40mail.gmail.com<https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVc0yytZF%2B%2BC68PKMhp1maOiKr-3Tgts2xrp2vumJHZHoA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


Click 
here<https://www.mailcontrol.com/sr/f8qZiRe9OK3GX2PQPOmvUu5zZAYN1MosF2UIT3+w12f!w!0edBs84vT7q5G54PGtgBP8rH+MiVyVGm43FW9a3A==>
 to report this email as spam.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/16e2b265342d4771bd9565a4ac63f668%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to