I need to fail jenkins job if any linux command return error message

2022-11-22 Thread Praju
Hi , I need to fail jenkins job if any linux command return error message , could any one help one this Thank you -- 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

Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread Praju
hello Finished: SUCCESS On Tuesday, November 22, 2022 at 6:20:08 PM UTC+5:30 dheinric wrote: > Am Dienstag, dem 22.11.2022 um 03:47 -0800 schrieb Praju: > > I need to fail jenkins job if any linux command return error message , > could any one help on

Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread Praju
22, 2022 at 6:54:51 PM UTC+5:30 dheinric wrote: > Am Dienstag, dem 22.11.2022 um 05:11 -0800 schrieb Praju: > > echo ${var} ( Note : I am not defined var) > > > echo NEVER fails. If ${var} is not defined, echo will output an empty > string, so you'll see an empty

Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread Praju
Thank you all , it is working for me On Tuesday, November 22, 2022 at 7:28:29 PM UTC+5:30 db...@cloudbees.com wrote: > On Tue, Nov 22, 2022 at 2:54 PM Praju wrote: > >> Hi , >> The above one I am taking as example but actual configuration is: >>

Need to re trigger if the Jenkins job fail for scheduled job

2022-12-05 Thread Praju
Hi, To achieve (Re trigger if the Jenkins job fail when it is scheduled job ) this one I am Enabling *Retry build after failure in *post build action but it will re trigger if we run manually also. Can any one suggest how to re trigger job if fail when it is scheduler. Thank you -- You re