Skip to content

Instantly share code, notes, and snippets.

@iocanel
Created October 6, 2015 09:42
Show Gist options
  • Save iocanel/2de1cf8e7a981bce7695 to your computer and use it in GitHub Desktop.
Save iocanel/2de1cf8e7a981bce7695 to your computer and use it in GitHub Desktop.
To Docker Workflow or Not?
# with docker workflow
node('docker') {
docker.image('maven').inside {
git 'https://github.com/fabric8io/example-camel-cdi'
sh 'mvn clean install'
}
}
#without docker workflow
node('maven') {
git 'https://github.com/fabric8io/example-camel-cdi'
sh 'mvn clean install'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment