Hello, I'm trying to get Jenkins running under Windows 10 to run a command under WSL (Windows Subsystem for Linux) but I can't get it to work at all.
Just to simplify it as much as possible, I've set up a build step of "Execute Windows Batch Command" like this: "C:\Users\User\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run ls That should execute WSL with the ls command and return. When I do it from the command line it works fine. On Jenkins I get the following error: *12:39:21* C:\Program Files (x86)\Jenkins\workspace\WoG2>"C:\Users\User\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run ls *12:39:21* The system cannot execute the specified program. Any idea what's going on? I tried changing the Jenkins user to my own to make sure there were no problems there and still get the same problem. Thanks. -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c016fe6c-e3eb-4118-85c5-6896c2ee2a79%40googlegroups.com.