Hudson : “yes: standard output: Broken pipe”

后端 未结 5 863
一生所求
一生所求 2021-02-18 19:02

I need to run a shell script in hudson. That script needs an answer from the user. To give an automatic answer I did the following command line :  

yes         


        
5条回答
  •  南方客
    南方客 (楼主)
    2021-02-18 19:37

    You are trying to use the yes program to pipe to the script? or echo yes to the script? If the process is working through jenkins, add "; true" to the end of your shell command.

提交回复
热议问题