[OpenStack-Infra] [openstack-infra] [jenkins-job-builder]  run `jenkins-jobs test` failed

Trinath Somanchi trinath.somanchi at nxp.com
Thu May 4 12:37:27 UTC 2017


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: trinath.somanchi at nxp.com<mailto:trinath.somanchi at nxp.com>
Mobile: +91 9866235130 | Off: +91 4033504051


From: dong.wenjuan at zte.com.cn [mailto:dong.wenjuan at zte.com.cn]
Sent: Thursday, May 04, 2017 3:27 PM
To: openstack-infra at lists.openstack.org
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










-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20170504/f3c9627d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 450 bytes
Desc: image001.png
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20170504/f3c9627d/attachment.png>


More information about the OpenStack-Infra mailing list