Then I would suggest creating a batch script or something that starts the 
service when the user logs in by putting it in the startup folder. 

----- Original Message -----
From: "Mark Mikulec" <miku...@gmail.com> 
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, May 1, 2014 10:19:52 AM 
Subject: Re: Running a jenkins windows batch command non-headless mode 



Nope, even when I'm logged on, it doesn't work. 

However I stopped the service and ran it directly via the command line. That in 
fact did work. A bit sloppy, but that's just the way windows is. 

Thanks for everyone's help! 

bc 
On May 1, 2014 11:07 AM, "Mark Mikulec" < miku...@gmail.com > wrote: 




There is no option to interact with desktop (unless its a command line switch). 
But being logged in as that user seems kind of obvious now. I will try it. 
thanks! 
On May 1, 2014 10:58 AM, "Scott Evans" < milwrd...@gmail.com > wrote: 

<blockquote>


Make sure the service is set to interact with the desktop, but I believe you 
also need to make sure that there's an account logged in, so there's a desktop 
session to interact with. 

Scott 




On Thu, May 1, 2014 at 9:57 AM, < k.thiel...@comcast.net > wrote: 

<blockquote>


I'm not sure about that. Is there a reason you need to use a custom account 
instead of local system? 


As I said, you could set up a slave service to run on this machine for certain 
jobs and have that be under local system. 


From: "Mark Mikulec" < miku...@gmail.com > 
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, May 1, 2014 9:43:14 AM 
Subject: Re: Running a jenkins windows batch command non-headless mode 



Since I'm using already a custom Jenkins local account, I do not have that 
option. Which is why I'm confused that it doesn't work. Maybe its because its a 
service? 
On May 1, 2014 8:31 AM, < k.thiel...@comcast.net > wrote: 

<blockquote>


Yeah you should be able to install the slave as a service 
Go into services, right click on the slave service and go to properties 
Go to the "Log On" tab and check the box that says "Allow service to interact 
with desktop" 


From: "Eric Pyle" < eric.p...@cd-adapco.com > 
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, May 1, 2014 7:18:13 AM 
Subject: Re: Running a jenkins windows batch command non-headless mode 

People I know who've done this have run the Windows test machine as a JNLP 
slave. 

Eric 


On 5/1/2014 8:14 AM, bluntcoder wrote: 

<blockquote>

Hi there. 


Hopefully this is an easy answer. 


I have an automated test I'm trying to run that requires initialization of the 
graphics driver, and thus I need a window to pop up in Windows. Is there anyway 
within a Jenkins project to make a command run it in interactive, on the 
desktop mode instead of it being headless? I have already switched the Jenkins 
user to use it's own independent system account, windows login and all, but 
that still hasn't done the trick. 


Thanks! -- 
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/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 jenkinsci-users+unsubscr...@googlegroups.com . 
For more options, visit https://groups.google.com/d/optout . 


-- 
You received this message because you are subscribed to a topic in the Google 
Groups "Jenkins Users" group. 
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe . 
To unsubscribe from this group and all its topics, send an email to 
jenkinsci-users+unsubscr...@googlegroups.com . 
For more options, visit https://groups.google.com/d/optout . 

</blockquote>


-- 
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/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 jenkinsci-users+unsubscr...@googlegroups.com . 
For more options, visit https://groups.google.com/d/optout . 

</blockquote>



-- 
You received this message because you are subscribed to a topic in the Google 
Groups "Jenkins Users" group. 
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/jenkinsci-users/LplqhAFcLrc/unsubscribe . 
To unsubscribe from this group and all its topics, send an email to 
jenkinsci-users+unsubscr...@googlegroups.com . 
For more options, visit https://groups.google.com/d/optout . 

</blockquote>

</blockquote>


-- 
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/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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to