I'm not alone into this situation and this have been a problems for many times for some: - https://issues.jenkins-ci.org/browse/JENKINS-28759 - https://issues.jenkins-ci.org/browse/JENKINS-33164 - https://issues.jenkins-ci.org/browse/JENKINS-42988 And I probably miss some other, but some are open since 2015 and still are unresolved. I was told this won't be fix and I should look forward to powershell api instead that should not have this :-(
I try to offer to test it, even gave an article that IMO seem to point to a probable problems with the way the process is spawn and check, but seem like I was lost and it was irrelevant. http://www.javaworld.com/article/2071275/core-java/when-runtime-exec---won-t.html Looking at the source, this seem like the pitfall of Java process reading was not avoid, might be at a lower level into CommandInterpreter but since I'm no Java expert (more a C/C++/Python/Bash dev): https://github.com/jenkinsci/jenkins/blob/d111e2ac1658c8fa5fb768e7d1233613b4b9992d/core/src/main/java/hudson/tasks/BatchFile.java We have a broken CI for months now (ever since the master is no more a single Windows machine master/slave, now we have a Linux Master and a Windows slave, this behavior is appearing nearly every day, have to restart the Jenkins service, cannot even cancel it via the web GUI). I now need the multiple slave and my master on Linux and it ain't working with msbuild batch nor powershell. I don't really have time to do this migration, but at some point my team and I need my CI to be reliable, not something that hang every day where I need an admin to log on the machine and restart Jenkins service since we have a master and a slave hang. Really wish this would be resolved by now, but I'm no longer holding my breath and it's a show stopper for us. Thanks, regards, Jerome -- 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/3e4ab9ce-fa78-4680-8843-d242217863e1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
