Hello Jenkins Users,

im using jenkins on windows and i´ve read when jenkins is running as a 
windows service, it´s not possible to spawn proccesses correctly which 
have GUI´s. 

So i deactivated jenkins as windows service and i´ve created a batch to 
start Jenkins. 
The batch itself works and jenkins will´be started. But now i have a 
complete empty jenkins. It looks like i´ve completly reinstalled jenkins.
When i terminate the batch and start jenkins as windows service again, all 
my settings and jobs are existing. 

Is it possible to take the same configuration of the windows-service when i 
start jenkins via batch ? Maybe i´ve overead something.. 

Thank you very much !



My batch for starting jenkins (the batch is also in included 
in $JENKINS-HOME Dir ): 


*SET BASE=C:\APP\Tools\jenkins%BASE%\jre\bin\java 
-Djava.net.preferIPv4Stack=true -Xrs -Xmx256m -jar "%BASE%\jenkins.war" 
--httpPort=8080*


*Links:*
Infos for starting Jenkins as windows service:
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service
Infos for starting Jenkins via commandline:
https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins

Infos to this isssue with processes that launches Gui´s are in following 
links:
http://stackoverflow.com/questions/18906753/jenkins-windows-slave-service-does-not-interact-with-desktop
http://stackoverflow.com/questions/17216923/how-to-launch-run-exe-console-gui-from-powershell-within-jenkins-ci





-- 
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/6b933ca4-0990-4fef-992f-4f61f046c631%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to