myapp.exe closes when jenkins Windows batch process finishes

10 views
Skip to first unread message

Nef Rey

unread,
Dec 24, 2016, 5:44:58 PM12/24/16
to Jenkins Users
I basically have a Jenkins slave

In that slave I'm passing the following:

********************************************
net use g: \\mynetworkshare\tests
g:
launchexecutable.bat  (I also pass the executable here rahter than a batch file  and it does the same)

net use g: /delete
***********************************************

The problem is that I want the executable to remain open.  Instead jenkins is closing it.  Thts the executable I need to test and it must remain open.

I know I can launch the executable within my test scripts, but wanted to know if there is away to launch the app and make it remain open.


Thanks,

NR



Mark Waite

unread,
Dec 24, 2016, 6:23:51 PM12/24/16
to Jenkins Users
https://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build provides good insights into management of processes inside (and and beyond) job context.

Mark Waite

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/91203c1d-bfdc-45e1-b2c0-675c629ae478%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages