What makes you say it's successful in the command line? Did you check the exit value of the command?
Jenkins (as any scheduler btw) uses the command return value to decide if the execution was successful or not. Cheers Le 10 juin 2015 7:25 PM, "Wafeir" <[email protected]> a écrit : > Hello, > > When i launch a command line in dos prompt, the command is successfull. > But when i put the same command line in dos job jenkins, there is an error > when the command is executed. > > The environment variable is the same between dos command (in dos job > jenkins) and dos prompt (in console)? > What is the solution? > > > > -- > 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/ae4b2837-9198-4be3-ba8a-2aca5267b779%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/ae4b2837-9198-4be3-ba8a-2aca5267b779%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/CANWgJS5cyTwYp%2BSRBJSVgoU4tTKLOwzHA1dmyDeZ5NF5Ke8%2B7Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
