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

jenkins_jobs.errors.JenkinsJobsException: Unknown entry point or macro 'ansible-playbook' for component type: '[*******]er'

    Details

    • Similar Issues:

      Description

      We are trying to restore jenkins from another instance Jenkins version 2.60.1 OS: Red Hat Enterprise Linux Server release 6.10 (Santiago)

      Post restoration we are trying to run seedjobs to build create other jobs.

      facing below issue.

      jenkins_jobs.errors.JenkinsJobsException: Unknown entry point or macro 'ansible-playbook' for component type: '[*******]er'. Build step 'Execute shell' marked [*******] as failure

      WARNING:root:logrotate is deprecated on jenkins>=1.637, use the property [*******]discarder on newer jenkins instead WARNING:jenkins_jobs.modules.publishers:trigger-parameterized[*******]s:Using deprecated order for parameter sets in triggered-parameterized-[*******]s. This will be changed in a future release to inherit the order from the user defined yaml. To enable this behaviour immediately, set the config option 'future.param_order_from_yaml' to 'true' and change the input job configuration to use the desired order Traceback (most recent call last): File "/opt/rh/python27/root/usr/bin/jenkins-jobs", line 10, in sys.exit(main()) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/cmd.py", line 191, in main execute(options, config) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/cmd.py", line 372, in execute n_workers=options.n_workers) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/[*******]er.py", line 350, in update_jobs self.parser.generateXML() File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/parser.py", line 342, in generateXML self.xml_jobs.append(self.getXMLForJob(job)) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/parser.py", line 352, in getXMLForJob self.gen_xml(xml, data) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/parser.py", line 359, in gen_xml module.gen_xml(self, xml, data) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/modules/[*******]ers.py", line 2021, in gen_xml [*******]er) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/registry.py", line 242, in dispatch parser, xml_parent, b, component_data) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/registry.py", line 249, in dispatch format(name, component_type)) jenkins_jobs.errors.JenkinsJobsException: Unknown entry point or macro 'ansible-playbook' for component type: '[*******]er'. Build step 'Execute shell' marked [*******] as failure Finished: FAILURE

      This is not consistant for all the jobs as i can see that we are able to create jobs of multijob type using seedjob(jenkins job builder)

      any help would be much appreciated.

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              sirot Jean-Christophe Sirot
              Reporter:
              nareshg4 Naresh G
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: