Jenkins pipeline sh fail with “cannot run program nohup” on windows

后端 未结 9 2047
野趣味
野趣味 2020-11-30 04:36

I have windows 10 and I want to execute the sh command in the Jenkinsfile from Jenkins pipeline using bash for Ubuntu for windows, but it doesn\'t work

I have the fo

9条回答
  •  醉酒成梦
    2020-11-30 05:02

    So you want the job running under WSL. If you want all jobs running under WSL have you considered installing Jenkins under WSL? Then everything is already in GNU land and you don't have to bridge the envrionment/culture of windows to GNU from within your Jenkins configuration.

提交回复
热议问题