jenkins slave as a service problems

219 views
Skip to first unread message

Ginga, Dick

unread,
Oct 2, 2014, 9:36:03 AM10/2/14
to jenkins...@googlegroups.com

On one of my previously working slaves is now having a problem running as a service on Windows. The event log msg contains this:

 

Child process [3268 - C:\Program Files\Java\jre1.8.0_20\bin\java.exe -Xrs  -jar "c:\builds\slave.jar" -jnlpUrl http://JenkinsServer.perkinelmer.net:8082/computer/Absinthium.perkinelmer.net/slave-agent.jnlp -secret 7d5ba4b831a1f790340398dd4ee0bffb1dd510ffe840b01fbd232ff28cad4d4f] finished with 0

 

And when I run that from the command line get:

 

-secret not a valid option

 

This slave worked great for months. I have recently loaded Java 1.8 and enabled access control. I have assigned to Anonymous the permission to connect slaves. Other slaves are fine.

 

Dick Ginga, Informatics R&D

PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

 

dick.ginga@perkinelmer.com  

Mobile – 508-847-1434

Office – 781-663-6947

 

Daniel Beck

unread,
Oct 2, 2014, 12:52:48 PM10/2/14
to jenkins...@googlegroups.com
With -secret, anonymous needs no permissions. Make sure slave.jar is up to date.
> dick....@perkinelmer.com
> Mobile – 508-847-1434
> Office – 781-663-6947
>
>
>
> --
> 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-use...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages