In the cases which mattered to us, we always needed desktop access (user 
interface tests, etc.).  Since we needed desktop access, I saw only unworkable 
limitations running as a service and decided that it was much better to use 
Startup than to attempt to detect and resolve all the issues which might occur 
with a service trying to masquerade as a desktop with a user interface.

My view has been that running a Jenkins slave as a service on Windows would 
have forced more hacks than running a Jenkins slave on the desktop.

I admit that your case may be quite different from mine.  You may be running 
programs which never need desktop access, or you may want to discover very 
rapidly when a program needs desktop access unexpectedly.  For us, it was more 
important to run tests from the desktop so that we were more closely simulating 
the user environment.

Mark Waite



>________________________________
> From: Costin Caraivan <costincarai...@gmail.com>
>To: jenkinsci-users@googlegroups.com 
>Sent: Sunday, July 28, 2013 6:08 AM
>Subject: Re: Anyone having Jenkins slaves on Windows 8?
> 
>
>Hello,
>
>I've got it going using Startup + a batch script, but does it work
>when installed as a service?
>I don't want to babysit the slaves and using Startup is a gross hack
>for this (the user needs to be logged in, there's a console window
>anyone connecting to the slave might close by accident, etc).
>
>I've been through basically all the bug reports on Jira and done
>everything they recommended and still have no result. Now the service
>is failing without logging anything - either to disk or to the Event
>Viewer :(
>
>Regards,
>_____________
>Costin Caraivan
>
>
>On Fri, Jul 26, 2013 at 2:16 PM, Mark Waite <markwa...@yahoo.com> wrote:
>> Java Web Start has worked fine for me on two different Windows 8 64 bit
>> machines.  Unfortunately, I suspect that won't really help you, since the
>> real question you're trying to answer is why it doesn't work on your
>> computer.
>>
>> Mark Waite
>>
>> ________________________________
>> From: Costin Caraivan <costincarai...@gmail.com>
>> To: jenkinsci-users@googlegroups.com
>> Sent: Friday, July 26, 2013 1:34 AM
>> Subject: Anyone having Jenkins slaves on Windows 8?
>>
>> Hello,
>>
>> Is Jenkins functional on Windows 8? Out of the 4 slave connection
>> possibilities:
>> 1. WMI + Windows service is very unreliable and even deprecated by the
>> developers
>> 2. Java Web Start fails with this:
>> java.io.IOException: Remote call on slave failed
>>     at hudson.remoting.Channel.call(Channel.java:674)
>>     at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:348)
>>     at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:316)
>>     at
>> jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:116)
>>     at
>> jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:99)
>>     at
>> jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:44)
>>     at
>> hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:150)
>> Caused by: java.lang.OutOfMemoryError: PermGen space
>> 3. Command execution on the master does not work (I've tried
>> Powershell remoting and psexec, they both fail).
>> 4. SSH usually requires Cygwin which requires hacks + I'm not sure it
>> works for UI testing.
>> basically none of them works.
>>
>> Has anyone successfully connected a Win 8 slave to Jenkins?
>> I'd really love to hear your success stories :)
>>
>> Thank you,
>> _____________
>> Costin Caraivan
>>
>> --
>> 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.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>>
>> --
>> 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.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>-- 
>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.
>For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to