I’am trying to create a multi branch project using jenkins-job
this is my role:
name: creatjob
jenkins_job:
name: assembly
url: http://localhost:10104
user: "{{ user_agent }}"
password: "{{ password_agent }}"
in my case I have two config.xml ./config.xml
and /template/config.xml
should the first or second
config: "{{ lookup('file','/tmp/config.xml') }}"
config: "{{ lookup('template','/tmp/template/config.xml') }}"
when I try to put both of them it tells me that it accepts only one config
(knowing that I can do it with only one branch)