Re: Jenkins build status always shows success

2020-01-12 Thread RAJENDRA PRASAD
Impossible, Could you please paste code snippet that you are using to set exit status 1... *Thanks and Regards,Rajendra Prasad Reddy Penumalli* On Sun, 12 Jan 2020 at 03:17, Jan Monterrubio wrote: > Does it mark unsuccessful if you have: > exit 1 > > As the last line of your script? Can yo

Re: Access build duration in 'freestyle' jobs, for use in mail notifications

2020-01-12 Thread RAJENDRA PRASAD
Hi Ram I guess you are missing *Build Timestamp Plugin.* Look at the following StackOverflow thread. https://stackoverflow.com/questions/24226862/how-to-get-build-time-stamp-from-jenkins-build-variables *Thanks and Regards,Rajendra Prasad Reddy Penumalli* On Mon, 13 Jan 2020 at 09:00, Rama

Access build duration in 'freestyle' jobs, for use in mail notifications

2020-01-12 Thread Ramanathan Muthaiah
Hi Folks, New Year wishes to all of you. Few weeks back, I migrated a production instance of Jenkins from v2.32 (legacy infra inherited few years back) to v2.190. Post successful upgrade, some of the jobs, hosted in this instance, are unable to compute(?) BUILD_DURATION -- this is manifested

Re: Jenkins build status always shows success

2020-01-12 Thread Vijay Gongle
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 wrote: > >  > Does it mark unsuccessful if you have: > exit 1 > > As the last line of your script? Can

Build block time

2020-01-12 Thread selva vignesh
Hi Team, How to get build block time for all kind of project in Jenkins. I need this for my plugin. Kindly assist -- 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