blob: 0079d74036fa90ee83d3697f8889a3a0414e6e71 [file] [log] [blame]
{%- 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 %}