If I recall correctly, timestamper plugin is totally a different thing, it adds timestamps to the build console of each line. While secondary-timestamper is to set an extra timestamp as description in the build history list.
Each plugin has a different purpose. — Hao On Fri, Dec 18, 2015 at 9:53 PM, Baptiste Mathus <[email protected]> wrote: > Hi, > There are (at least) already 3 timestamping plugins: > * https://wiki.jenkins-ci.org/display/JENKINS/Timestamper > * https://wiki.jenkins-ci.org/display/JENKINS/secondary-timestamper-plugin > * https://wiki.jenkins-ci.org/display/JENKINS/ZenTimestamp+Plugin > The second one explicitly lists TZ as a goal. > Did/would you consider contributing your additional feature(s) to one of > them? > Maybe it'd be beneficial to users to have a bit more unity in that field? > Cheers > 2015-12-18 10:58 GMT+01:00 Hao CHEN <[email protected]>: >> I cloned the repo to local and read the source code before I decided to >> create a different one. >> ZenTimestamp exports only one variable to the build, but can be configured >> to use different formats for each job and each node. >> >> While I need to >> 1. Time zone support, which is relatively easy to add to zentimestamp >> 2. More timestamp variables and formats. A same timestamp with different >> formats, can be used in different places, such as folder names or file >> names using a path friendly format, JSP pages using a human friendly >> formats. And these formats are set up only once in global config, they can >> be used in the corp-width as a naming convention. >> To do this is almost changing every thing in ZenTimestamp. >> >> Hao CHEN >> >> >> >> >> On Fri, Dec 18, 2015 at 1:17 AM -0800, "Daniel Beck" <[email protected]> >> wrote: >> >> >> On 16.12.2015, at 10:15, Hao Chen <[email protected]> wrote: >> >> > I'd like to create a plugin to expose build timestamp to as env vars. >> >> This looks really similar to ZenTimstamp plugin -- why are you not using >> that? Timezone support could be added if that's missing. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Jenkins Developers" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jenkinsci-dev/X5YdoL6IjdI/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/F23577C3-4B37-43B0-916E-CC0BA61F453E%40beckweb.net >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Developers" 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-dev/BAY407-EAS416052DF8A3F0AF609426ECC7E10%40phx.gbl >> <https://groups.google.com/d/msgid/jenkinsci-dev/BAY407-EAS416052DF8A3F0AF609426ECC7E10%40phx.gbl?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > -- > Baptiste <Batmat> MATHUS - http://batmat.net > Sauvez un arbre, > Mangez un castor ! > -- > You received this message because you are subscribed to a topic in the Google > Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/X5YdoL6IjdI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS4QWGGMBAyxG_NAqUwcrtR4YGdZOaMKpZYUHy345Oce8Q%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/1450447737190.a4a8a8d3%40Nodemailer. For more options, visit https://groups.google.com/d/optout.
