Created
November 22, 2016 18:06
-
-
Save macg33zr/ac6ecf5a7d2f8880081675634434eced to your computer and use it in GitHub Desktop.
Jenkins Pipeline Model Definition - Timestamps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
environment { | |
FOO_OUT = "Foo" | |
} | |
agent label:"LNX64" | |
wrappers { | |
timestamps() | |
} | |
stages { | |
stage('Foo') { | |
steps { | |
echo env.FOO_OUT | |
} | |
} | |
} | |
post { | |
success { | |
println "Foo worked!" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment