Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Export build timestamps to build env variables.

Plugin Information

View Build Timestamp on the plugin site for more information.


BUILD_TIMESTAMP exported by default, and you can add more variables with different format patterns in Global Configure page.

Daylight Saving Time

DST is not enabled by default.
If your location uses DST, you can enable it by setting the timezone to the correct city such as America/New_York.

Using timestamps in Maven/Gradle/Shell

They are available in Maven build and Gradle build as built-in properties/variables as well.

As defined property in pom, equals to






Open Issues

T Key Summary Assignee Reporter P Status Resolution Created Updated Due




  • Added Optional date/time shift

    For additional variables you can define shift (days, hours, minutes) which will be added to build timestamp. This allows to run build plan with previous day specified as parameter.


  • Fixed validation issue (combobox does not support validation)


  • Initial release.


  1. Unknown User (it3xl)

    Your "Shift timestamp" in the last update crashed my builds.

    1. "Manage Old Data" in Jenkins shows some error.

    The following config is inappropriate any more


    2. "Export more variables" is empty now.
    3. It has troubles with "Shift timestamp"
    The help for this field says "If not needed may be empty" but this is impossible.
    4. It is impossible to do "Export more variables" > Add



  2. Unknown User (jedavis)

    1.0.2 blew away my custom variable.  Ran into the same problems with the shift format not matching documentation, but got custom timestamps  working again by using this format:  "- 0 days 0 hours 0 minutes" without the quotes.  Using a "+" didn't satisfy the field validation - neither did blank as documented.  Once an acceptable shift format was supplied, I was able to recreate and save my custom timestamp variable.

  3. Unknown User (rayhallquist)

    1.0.3 blew away my custom variable.  com.orctom.jenkins.plugin.buildtimestamp.Tuple was changed to com.orctom.jenkins.plugin.buildtimestamp.BuildTimestampExtraProperty

  4. Unknown User (ajaydwarkani)

    "Export more variables" is not working as expected. After adding a new variable and saving the configuration, newly added variable is not showing in the configuration. it's just vanishes.

    I have tried to add variable "BUILD_DATESTAMP" with value "yyyy-MM-dd" or "yyyy.MM.dd" and no new variable is showing.

    My Jenkins version is 2.150.2