×
Find plugins

Build Timestamp1.0.2Minimum Jenkins requirement: 1.565.3ID: build-timestamp

Installs: 4815
Last released: 7 days ago
Maintainers
Hao CHEN
Dependencies
No dependencies found

Export build timestamps to build env variables.

View Build Timestamp Plugin on the plugin site for more information.

Configure

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.

Maven:
As defined property in pom, equals to

System.getProperty('BUILD_TIMESTAMP')

Gradle:

System.getenv('BUILD_TIMESTAMP')

Shell:

"$BUILD_TIMESTAMP"

Open Issues

T Key Summary Assignee Reporter P Status Resolution Created Updated Due
Loading...
Refresh

Changes

1.0.2

  • 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.

1.0.1

  • Fixed validation issue (combobox does not support validation)

1.0.0

  • Initial release.
ArchivesGet past versions
Labels