You mean that program you wrote reads standard input, instead of taking parameters ?
Le 13 févr. 2017 9:02 AM, "Akiva Lane" <[email protected]> a écrit : > 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. > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/20ee9d79-02ff-4e98-aeef-fbf6075ab279%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/20ee9d79-02ff-4e98-aeef-fbf6075ab279%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6qfW2W2XuiFj0mSu-rwvOU-G9hEUNOOxqEfbfpW5uf7w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
