We have written a Java program that accepts command line input.
I can start the program withe Jenkins, and then the program expects a command with parameters
to be entered. But when I put the command on the next Jenkins line, Jenkins says 'command not found'.
For example, I run a script called startPgm that starts my program, and then need to enter the command
to the program "file javatest".
My Jenkins lines are:
+ cd /users/akiva
+ ./startPgm
+ file javatest
Jenkins starts the program, and then says:
Command> + file javatest
/tmp/hudson7645987865sh line 3: file: command not found
How do I enter the command into the program?
Thanks.