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

haw to create multi branch project in jenkins with ansible

    Details

    • Similar Issues:

      Description

      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)

        Attachments

          Activity

          Hide
          michaelcresswell Michael Cresswell added a comment -

          This is a Jenkins plugin. Your question is about how to use this Ansible Module. Please refer to the Communication page here for instructions on how to ask for help with Ansible modules. I am closing this item since it is off topic.

          Show
          michaelcresswell Michael Cresswell added a comment - This is a Jenkins plugin. Your question is about how to use this  Ansible Module. Please refer to the Communication page here  for instructions on how to ask for help with Ansible modules. I am closing this item since it is off topic.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: