Hi, It seems to me that there's an issue in hudson.Launcher.
In hudson.Launcher#decorateByEnv method (link<https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/Launcher.java#L710>) the original launcher is wrapped into the anonymous instance of hudson.Launcher. The problem is that there's a 'hudson.Launcher#isUnix()<https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/Launcher.java#L582>' method that is overridden<https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/Launcher.java#L871>in Remote launcher, but after decoration, the non-overridden method is called for all the launchers. This causes wrong OS detection during SCM polling. Is this really a bug or I just misunderstand something? Thank you, Victor -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
