You didn't mention your platform. Below is the solution for Unix/Linux systems. Can somebody chime in with the fix in Windows?
Jenkins will take any shell script that returns nonzero and report it as failed. The return value of a shell script is that of the last command. I suspect that when you run it by hand, you're getting that nonzero return value but ignoring it because you're just reading the screen. When you run it by hand, run "echo $?" to see the last exit value. To get a command to return zero no matter what, try "command || true". If "command" fails, it will run the "true" command, which simply returns zero. --Rob -----Original Message----- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of sujan54004 Sent: Thursday, February 07, 2013 3:17 AM To: jenkinsci-users@googlegroups.com Subject: "File not found" considered as fatal error Hello All, I am having an issue with my jenkins compilation. It terminates with "file not found" error, which in normal development environment is considered as a warning. Can this error be skipped/ignored as a warning ? Thanks in advance, Sujan -- View this message in context: http://jenkins.361315.n4.nabble.com/File-not-found-considered-as-fatal-error-tp4654709.html Sent from the Jenkins users mailing list archive at Nabble.com. -- 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-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle & Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle & Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- 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-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.