Running explorer.exe would launch the application which would never close
since explorer just opens. That doesn't make much sense ad I reread it but
hopefully you get what I mean. If you want to just test by starting Jenkins
from the cmdline, just stop the service and try running.

Sent from my Windows Phone
------------------------------
From: Christoph
Sent: 6/14/2012 7:38 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Jenkins executing build .bat with gui

Hallo,

thank you for the quick answer
that sounds like the right answer

however activating the interaction with desktop did not help.
even if i just try to start explorer from within jenkins it hangs.

by the way, how do i unistall jenkins completely, when installed as a
service?
so, when i start jenkins with "java -jar jenkins.war" it _should_ work even
with gui frames without furtther configurations, is that correct?

thanks
chris

On Thursday, June 14, 2012 3:41:13 PM UTC+2, Christoph wrote:

> Hello,
>
> I have a problem with jenkins stable on win7, running as system
> service, installed as described by the documentation.
> I use CodeBlocks as IDE and it can be trigered by command line, so i
> made a .bat file that builds my projekt using CodeBlocks command line
> execution.
> The .bat works exactly as intended when started by hand.
>
> The problem:
>  Jenkins hangs forever on the execution of the .bat file as soon as
> there is a gui call.
>
> If i write other things before the Codeblocks line, it works to. like
> "echo hello" or something.
> Jenkins does that successfully.
> But writing "explorer" into the .bat does not. Executing the same .bat
> manually however, i get an explorer window from win7.
>
> How can I execute GUI frames from within jenkins?
> I have to use the CodeBlocks ide, for compiling a huge projekt with
> several builds using several compilers.
>
> Thanks
> Chris

Reply via email to