How can I display build timestamps for each line of a multi-branch pipeline project? Is it a supported feature? If yes, does it need to be enabled in the Jenkinsfile
or is there a GUI option?
After installing the Timestamper Plugin, you have to configure each job by manually checking the "Add timestamps to the Console Output" option.
Adding options to the declarative pipeline
pipeline { agent any options { timestamps () } // stages and rest of pipeline. }
Credit goes to the comment above Jenkins Pipeline: Enable timestamps in build log console
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With