We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb1107c + 58385ef commit aa0337cCopy full SHA for aa0337c
pipeline-examples/timestamper-wrapper/timestamperWrapper.groovy
@@ -1,7 +1,7 @@
1
// This shows a simple build wrapper example, using the Timestamper plugin.
2
node {
3
// This is the current syntax for invoking a build wrapper, naming the class.
4
- wrap([$class: 'TimestamperBuildWrapper']) {
+ timestamps {
5
// Just some echoes to show the timestamps.
6
stage "First echo"
7
echo "Hey, look, I'm echoing with a timestamp!"
@@ -14,4 +14,4 @@ node {
14
stage "Second echo"
15
echo "Wonder what time it is now?"
16
}
17
-}
+}
0 commit comments