Your method is helpful for me,i use python script sys.exit(1) ! 

在 2011年4月28日星期四 UTC+8下午11:11:02,Rob Petti写道:
>
> Jenkins looks at the exit code, so "exit 1" or something similar would be 
> sufficient to trigger a failure. If you need additional log output, then 
> just add some simple error handling and log output to your script.

-- 
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/52caf843-57b8-4b6c-b706-c75ab388a321%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to