I didn’t set the exit status to either 0 or 1. I did set it now to 1 and the status still shows success .
Thanks, Vijay Sent from my iPhone > On Jan 11, 2020, at 4:46 PM, Jan Monterrubio <[email protected]> wrote: > > > Does it mark unsuccessful if you have: > exit 1 > > As the last line of your script? Can you each out the result of your angular > command? It might be pronting errors but exiting with a status of 0 which is > considered successful. > > > >> On Sat, Jan 11, 2020 at 04:59 Vijay Gongle <[email protected]> wrote: >> Correct. It’s an Angular project and running bash shell script of Jenkins >> build. >> >> Thanks, >> Vijay >> Sent from my iPhone >> >>>> On Jan 10, 2020, at 11:28 PM, RAJENDRA PRASAD >>>> <[email protected]> wrote: >>>> >>> >> >>> Could you please elaborate on what kind of project you are running? >>> Running from Bash Shell of Jenkins build step or batch file? >>> i >>> >>> Rajendra Prasad Reddy Penumalli >>> >>> >>> >>>> On Sat, 11 Jan 2020 at 02:53, Vijay Gongle <[email protected]> wrote: >>>> Hello, >>>> This is something weird I started seeing from past 2 days. No matter what >>>> or how many errors you have in console output, it shows the results as >>>> “success” and green and never marks the status “failed” at the end. >>>> >>>> This job has been working fine for months. >>>> I created a new job with similar configuration and script, it still >>>> behaves the same way. >>>> >>>> I’m sure someone can help me with it. >>>> >>>> Thanks in advance! >>>> Vijay >>>> >>>> -- >>>> 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/297b1845-300b-403a-b6a1-75df69a69c8a%40googlegroups.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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/CAMrg02QwFJ_qpxs_M8La1ayFja4-7Pv4%2BFfDQ8OKa3FBhw27%2BQ%40mail.gmail.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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/996DC916-80B4-479E-BCB7-FBEE5CAD900B%40gmail.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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9KVUMS8LkdFE%3D9tQYSfXxf%3DyZpeHp7SkWGmHAyvRRyitA%40mail.gmail.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/A1A4EAC0-EE49-4FBF-999D-A22D250C9A4A%40gmail.com.
