Dos command is not Successfull in dos job jenkins

6 views
Skip to first unread message

Wafeir

unread,
Jun 10, 2015, 1:25:33 PM6/10/15
to jenkins...@googlegroups.com
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?

 

Baptiste Mathus

unread,
Jun 11, 2015, 2:45:44 AM6/11/15
to jenkins...@googlegroups.com

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

--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ae4b2837-9198-4be3-ba8a-2aca5267b779%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages