Skip to content

Instantly share code, notes, and snippets.

@aheritier
Created May 19, 2020 09:04
Show Gist options
  • Save aheritier/419d68716082d39e01e4584cc9946b31 to your computer and use it in GitHub Desktop.
Save aheritier/419d68716082d39e01e4584cc9946b31 to your computer and use it in GitHub Desktop.
JenkinsPipelineMavenWithJava6
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