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

Make Ansible Tower Plugin import the output from a sliced job template

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • ansible-tower-plugin
    • None

    Description

      On the latest AXW release it introduces the Job Slicing feature that allows Job Templates to be sliced up, see the docs for more information.

      The current version of the Ansible Tower Plugin is not able to import the output from a sliced job template because it tries to fetch the output on 

      https://awx.example.com/#/jobs/<id>

      but for sliced job templates the output is actually available on 

      https://awx.example.com/#/workflows/<id>

       

      Here are the steps I tried:

      1. On AWX, ensure that there is a job template where the Job Slicing value  is set to some number greater than 1.
      2. On Jenkins, ensure that the Import Tower Output on a Ansible Tower build step.
      3. Run the Jenkins job, it should fail with the following message: "ERROR: Failed to get job events from tower: The item does not exist"

       

      Attachments

        Issue Links

          Activity

            People

              johnwestcottiv John Westcott
              elyezer Elyézer Rezende
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: