jenkins-job-builder/tests/yamlparser/job_fixtures/project-with-auth-j2-yaml.yaml

15 lines
274 B
YAML

- job:
name: test
authorized_people:
- john
- megan
- steve
properties:
- authorization: !j2-yaml: |
{% for user in authorized_people %}
{{ user }}:
- job-build
- job-cancel
- job-read
{% endfor %}