fixing logic for buildslave home dir in buildbot.tac file

This commit is contained in:
Tim Flink 2016-01-26 19:50:02 +00:00
parent 769a8f67ff
commit f6cb8f8dee

View file

@ -4,10 +4,10 @@ import os
from twisted.application import service
from buildslave.bot import BuildSlave
{% if deployment_type in ['prod', 'stg', 'local', 'qa-stg'] %}
{% if deployment_type in ['local', 'qa-stg'] %}
basedir = r'/home/buildslave/slave'
{% endif %}
{% if deployment_type == 'dev' %}
{% if deployment_type in ['prod', 'stg', 'dev'] %}
basedir = r'{{ item.dir }}'
{% endif %}
rotateLength = 10000000