Switch branches/tags
Nothing to show
Find file Copy path
91cba77 Jun 20, 2017
2 contributors

Users who have contributed to this file

@bitwiseman @aurelije
18 lines (15 sloc) 560 Bytes
// This shows a simple build wrapper example, using the Timestamper plugin.
node {
// Adds timestamps to the output logged by steps inside the wrapper.
timestamps {
// Just some echoes to show the timestamps.
stage "First echo"
echo "Hey, look, I'm echoing with a timestamp!"
// A sleep to make sure we actually get a real difference!
stage "Sleeping"
sleep 30
// And a final echo to show the time when we wrap up.
stage "Second echo"
echo "Wonder what time it is now?"