Created
May 19, 2020 09:04
-
-
Save aheritier/419d68716082d39e01e4584cc9946b31 to your computer and use it in GitHub Desktop.
JenkinsPipelineMavenWithJava6
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
pipeline { | |
agent { | |
docker { image 'java6-maven' } | |
} | |
stages { | |
stage('Build') { | |
steps { | |
withMaven{ | |
sh "mvn verify" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment