Yeah, introduced in https://github.com/jenkinsci/jenkins/commit/4f2e2615055 / https://github.com/jenkinsci/jenkins/pull/2548
Just checked, and though the PR history is now deleted, I'm pretty sure the CI did run on Windows for this too. So there must be a reason why this works or not under some circumstances I suspect. I think I will file something tomorrow for this if nobody beats me to it. Though I'd like to understand why it succeeds sometimes or not, maybe just when running under cygwin or not indeed. Or maybe I should just try to be smart... Ever. And use Functions.isWindows() to disable this globally on Windows, and not just when that new isPosixSupported() method I added returns true or false. -- Baptiste 2018-04-16 20:55 GMT+02:00 Jesse Glick <jgl...@cloudbees.com>: > On Sat, Apr 14, 2018 at 1:13 PM, Jonathan Bergh > <bergh.jonat...@gmail.com> wrote: > > This helper function in the test led me to > > believe this test should not be running on the Windows platform > > The `checkPermissionsRespectUmask` test is skipped on Windows. (Well, > at least potentially—not sure about Cygwin.) `symlinkToDirectory` is > not skipped on Windows. Probably it should start with: > > assumeFalse(Functions.isWindows()); > > Feel free to add that and file a PR claiming to follow up > > https://github.com/jenkinsci/jenkins/pull/2548 > https://github.com/jenkinsci/jenkins/pull/3233 > https://github.com/jenkinsci/jenkins/pull/3275 > > -- > 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 jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-dev/CANfRfr2YVN2s7D5QLaKZFzgHXUxBs7j1QZbWaHYzyvQAzju%2BJQ% > 40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6%3DxQCVqvjJbz95NTcs62mwy90C5jH0fbwCd1cWDL9exQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.