Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42742

haw to create multi branch project in jenkins with ansible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • ansible-plugin
    • None

      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)

            Unassigned Unassigned
            maher maher lemsi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: