Created
August 4, 2017 14:35
-
-
Save madelaney/8e6811360b6eb6e47599b646b0e68336 to your computer and use it in GitHub Desktop.
This file contains 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
node { | |
stage('Checkout') { | |
checkout scm | |
} | |
stage('Project Version') { | |
def pom = readMavenPom file: 'pom.xml' | |
println pom.version | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment