Even though I'm subscribed to the Nabble group - I don't seem to be able to get my messages past the pending queue there - and I got a bounce notice from this Google Group. So maybe they're connected together somehow. Let's see if this gets through after I subscribed to it as well as the Nabble Jenkins-Users.
I've been trying to use MKSToolkit on Windows to run a shell script. It just hangs when I run it from Jenkins. The script works fine from the command line. I thought it was a bug in MKSToolkit - but I was able to reproduce the problem running the script from a java program - but then I found that there's quite a lot of ways to use Java's Runtime.exec to cause hangs. So I'm suspecting that this may be a bug. This seems to be the best article summarizing the situation. http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html?page=4 At first I wrote a small script that confirmed the hang using just Java without Jenkins - but then when I used the "GoodWindowsExec.java" - the hang went away. This leads me to suspect that it's related to how Jenkins fetches the I/O from the Runtime.exec - that in the case of MKS Toolkit there might be some timing that causes a thread hang. I've not been able to find any way to work around it. Anyone have any thoughts here? Thanks! Harold Shinsato