Skip to content

Instantly share code, notes, and snippets.

@jmrozanec
Created October 24, 2018 13:16
Show Gist options
  • Save jmrozanec/6dadaf104eb7c8cd1c8f8716a8cf09a8 to your computer and use it in GitHub Desktop.
Save jmrozanec/6dadaf104eb7c8cd1c8f8716a8cf09a8 to your computer and use it in GitHub Desktop.
clouds:
- docker:
containerCap: 5
dockerApi:
connectTimeout: 60
dockerHost:
uri: "tcp://127.0.0.1:2375"
readTimeout: 60
exposeDockerHost: true
name: "docker"
templates:
- connector:
ssh:
javaPath: "/usr/lib/jvm/java-8-openjdk-amd64/bin/java"
launchTimeoutSeconds: 300
retryWaitTime: 5
sshKeyStrategy:
injectSSHKey:
user: "jenkins"
dockerTemplateBase:
image: "ourcompany/jenkins-slave"
pullCredentialsId: "dockerhub"
labelString: "docker-slave"
mode: EXCLUSIVE
name: "docker-slave"
pullTimeout: 300
remoteFs: "/home/jenkins"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment