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

后端 未结 9 2049
野趣味
野趣味 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:18

    Switching sh to bat worked for me - I am running Jenkins on Windows. But only after I had resolved an issue caused by the fact I had not configured my tools (maven and the JDK) correctly in Jenkins either.

提交回复
热议问题