Connect jenkins slave via docker network on swarm
Update jenkins location url for that case only
Change-Id: Icc74e24a4a4343ba32ca3bd7e2c15e9ea0e5ca6c
Related-prod: PROD:26834
diff --git a/docker/swarm/stack/jenkins/slave_base.yml b/docker/swarm/stack/jenkins/slave_base.yml
index 91601ab..3de4765 100644
--- a/docker/swarm/stack/jenkins/slave_base.yml
+++ b/docker/swarm/stack/jenkins/slave_base.yml
@@ -1,9 +1,7 @@
classes:
+- system.docker
- system.docker.client.images.jenkins_slave
parameters:
_param:
- jenkins_master_host: ${_param:control_vip_address}
- jenkins_master_url: http://${_param:jenkins_master_host}:${_param:jenkins_master_port}
- jenkins_slave_user: ${_param:jenkins_client_user}
- jenkins_slave_password: ${_param:jenkins_client_password}
+ jenkins_master_url: http://jenkins_master:8080
jenkins_slave_extra_opts: ""