Do you want to try, 
https://lists.opendaylight.org/pipermail/integration-dev/2015-June/003397.html

Also, check the job configuration.


Thanks,
Trinath Somanchi.

Digital Networking | NXP – Hyderabad – INDIA.
Email: [email protected]<mailto:[email protected]>
Mobile: +91 9866235130 | Off: +91 4033504051


From: [email protected] [mailto:[email protected]]
Sent: Thursday, May 04, 2017 3:27 PM
To: [email protected]
Subject: [OpenStack-Infra] [openstack-infra] [jenkins-job-builder]  run 
`jenkins-jobs test` failed




Hi folks,

I use "puppet-jenkins" to setuped a jenkins node, and then run the command 
`jenkins-jobs test /etc/jenkins_jobs/config/`

to parser the jobs which are from the "project-config/jenkins/jobs".

But it raised a error, here is the log:

Does anyone know how to resolve the issue? Do I need to install some tools?

Thanks for help~



INFO:jenkins_jobs.local_yaml:Including file 'include/run-project-guide.sh' from 
path '.'

WARNING:root:logrotate is deprecated on jenkins>=1.637, use the property 
build-discarder on newer jenkins instead

Traceback (most recent call last):

  File "/usr/local/bin/jenkins-jobs", line 10, in <module>

    sys.exit(main())

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/cmd.py", line 191, 
in main

    execute(options, config)

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/cmd.py", line 380, 
in execute

    n_workers=1)

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 
350, in update_jobs

    self.parser.generateXML()

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/parser.py", line 
342, in generateXML

    self.xml_jobs.append(self.getXMLForJob(job))

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/parser.py", line 
352, in getXMLForJob

    self.gen_xml(xml, data)

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/parser.py", line 
359, in gen_xml

    module.gen_xml(self, xml, data)

  File 
"/usr/local/lib/python2.7/dist-packages/jenkins_jobs/modules/publishers.py", 
line 6158, in gen_xml

    self.registry.dispatch('publisher', parser, publishers, action)

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/registry.py", line 
249, in dispatch

    format(name, component_type))

jenkins_jobs.errors.JenkinsJobsException: Unknown entry point or macro 'afs' 
for component type: 'publisher'.



BR,

dwj










_______________________________________________
OpenStack-Infra mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

Reply via email to