From 235e6d6d81e1612ae4e5323143e1de8115f35d37 Mon Sep 17 00:00:00 2001 From: David Roble Date: Tue, 28 Feb 2017 14:37:57 -0500 Subject: [PATCH] fix for non-existent default jenkins swarm directory #50 --- cinch/roles/jenkins_slave/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinch/roles/jenkins_slave/defaults/main.yml b/cinch/roles/jenkins_slave/defaults/main.yml index aee5813..fe14b63 100644 --- a/cinch/roles/jenkins_slave/defaults/main.yml +++ b/cinch/roles/jenkins_slave/defaults/main.yml @@ -10,7 +10,7 @@ jslave_label: ops-jslave # Number of executor processes on the slave - modify based on system capacity and load jswarm_execs: 10 # Directory where the swarm will live and execute -jswarm_home: /home/jenkins +jswarm_home: "{{ jenkins_user_home }}" # Whether the swarm should execute as the jenkins user. False means it will exec as root run_swarm_as_jenkins: false # Path to Java interpreter to use to run the Swarm client