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
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.