blob: b46fdb574bd54e2eddb86d7d0000326f21ba3f86 [file] [log] [blame]
minion:
{%- if pillar.get('jenkins', {}).get('client') %}
jenkins:
{%- from "jenkins/map.jinja" import client with context %}
jenkins:
url: "{{ client.master.get('proto', 'http') }}://{{ client.master.host }}:{{ client.master.port }}"
{%- if client.master.api_key is defined %}
api_key: {{ client.master.api_key }}
{%- else %}
user: {{ client.master.get('username', 'admin') }}
password: {{ client.master.get('password', 'dummy') }}
{%- endif %}
{%- endif %}