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 in the mail notification that's sent out as part of mail triggered via the "post-build actions" section.
Does anyone know if "BUILD_DURATION" parameter is available by any other name or this could be caused due to missing plugin?
As a workaround, I can record start and end times and do some math. But this step may have to repeated across 10+ jobs and, personally, I want to avoid such repetitive tasks.
Another option could be using email templates written in Groovy -- any pointers to this would be welcome too.
--
Warm Regards,
Ram