Jenkins Declarative Pipeline and Groovy ZonedDateTime for Regional Timestamp Conversion
In a Declarative Pipeline, I need to display the build start time in a specific regional time zone (e.g., America/New_York) for a report generated later in the pipeline. The pipeline runs on agents with varying system time zones, and I want to avoid relying on the agent's local time; I prefer to use a pure Groovy solution within the pipeline script. I am uns