Not sure where you've heard there are problems with using Jenkins and
processes that start GUIs when using a service - all you should need to do
is make sure that the service has had the "interact with desktop" turned on
which (if I recall correctly means that you need an actual user account to
run it as - as opposed to the "local system account" option)

Sorry for being hazy but it has been a while and not in front of my machine
at the moment.

Richard

On 2:40AM, Tue, 19/05/2015 newInHere <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/jenkinsci-users/6b933ca4-0990-4fef-992f-4f61f046c631%40googlegroups.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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMui946H95Ez7z%3DbyKmt2PD-%2BJ3e6OPOVOLK2aJ8ozOweqf%2Bag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to