-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
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:
- On AWX, ensure that there is a job template where the Job Slicing value is set to some number greater than 1.
- On Jenkins, ensure that the Import Tower Output on a Ansible Tower build step.
- Run the Jenkins job, it should fail with the following message: "ERROR: Failed to get job events from tower: The item does not exist"
- is related to
-
JENKINS-63142 Sliced job template in workflow causes jenkins pipeline failure
- Open