Can some one please help
With this

On Thu, Jun 22, 2023 at 1:54 PM Narmada Karthika <[email protected]>
wrote:

> this is the failure message I get
> fatal: [localhost]: FAILED! => {
>     "changed": false,
>     "module_stderr": "Traceback (most recent call last):\n  File
> \"/home/deploy-user/.ansible/tmp/ansible-tmp-1687467074.902748-21679-1695874315533/AnsiballZ_jenkins_job_info.py\",
> line 100, in <module>\n    _ansiballz_main()\n  File
> \"/home/deploy-user/.ansible/tmp/ansible-tmp-1687467074.902748-21679-1695874315533/AnsiballZ_jenkins_job_info.py\",
> line 92, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path,
> ANSIBALLZ_PARAMS)\n  File
> \"/home/deploy-user/.ansible/tmp/ansible-tmp-1687467074.902748-21679-1695874315533/AnsiballZ_jenkins_job_info.py\",
> line 41, in invoke_module\n    run_name='__main__', alter_sys=True)\n  File
> \"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\n    return
> _run_module_code(code, init_globals, run_name, mod_spec)\n  File
> \"/usr/lib64/python3.6/runpy.py\", line 96, in _run_module_code\n
>  mod_name, mod_spec, pkg_name, script_name)\n  File
> \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n    exec(code,
> run_globals)\n  File
> \"/tmp/ansible_jenkins_job_info_payload_k3zaq5p6/ansible_jenkins_job_info_payload.zip/ansible_collections/community/general/plugins/modules/jenkins_job_info.py\",
> line 262, in <module>\n  File
> \"/tmp/ansible_jenkins_job_info_payload_k3zaq5p6/ansible_jenkins_job_info_payload.zip/ansible_collections/community/general/plugins/modules/jenkins_job_info.py\",
> line 252, in main\n  File
> \"/tmp/ansible_jenkins_job_info_payload_k3zaq5p6/ansible_jenkins_job_info_payload.zip/ansible_collections/community/general/plugins/modules/jenkins_job_info.py\",
> line 204, in get_jobs\nKeyError: 'color'\n",
>     "module_stdout": "",
>     "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
>     "rc": 1
>
> On Thursday, June 22, 2023 at 12:00:46 PM UTC-7 Narmada Karthika wrote:
>
>> My bad corrected the module name
>>
>> On Thu, Jun 22, 2023 at 11:42 AM Narmada Karthika <[email protected]>
>> wrote:
>>
>>> here is my jenkins info play
>>>
>>>  - name: Print the jobname
>>>
>>       jenkins_job_info:
>>>
>>
>>>         name: 'build.teamCI'
>>>         user: [email protected]
>>>         token: <token>
>>>         url: https://build.com
>>>       register: my_jenkins_job_info
>>>       tags: jenkinsjob2
>>>
>>
>>> the above play is printing info for jobs which are not multipipline. if
>>> I give multipipeline jobs its failing.
>>> Is there any work around or am I missing anything...
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/1c8810d2-adad-4160-8c5c-3291e42ca203n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/1c8810d2-adad-4160-8c5c-3291e42ca203n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>>  Thanks,
>> Narmada Karthika Chitturi
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/85b0c573-b5f7-4fd8-a401-ef4a11fdbf3cn%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/85b0c573-b5f7-4fd8-a401-ef4a11fdbf3cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
 Thanks,
Narmada Karthika Chitturi

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CABdF8S2ngDUJup0j0Jm068sXfz_frFKpAOvFYAtKbWcjW7hz%3DA%40mail.gmail.com.

Reply via email to