Jenkins 的 XML 格式
我正在用python编写一个自动化测试脚本,我需要将其集成到jenkins中,以便可以在jenkins中看到每个模块的测试结果输出。
我对 XML 不太熟悉,并且我发现 Jenkins 无法理解我尝试在脚本中创建的 XML 输出。
python 中有什么方法可以将 XML 格式转换为 Jenkins 提供的 XSD 格式吗?
<块引用>由于限制,我无法安装任何像 lxml 这样的库。我必须使用 2.7.1 版本附带的基本 python 库。
I am writing an automated test script in python and I need to integrate this to jenkins so that the test result output can be seen in jenkins for each module.
I am not so familiar with XML and I see that Jenkins is not able to understand the XML output I try to create in my script.
Is there any means in python by which I transform my XML format to the XSD provided by Jenkins?
Because of the restrictions I cannot install any libraries like lxml. I am having to use basic python libraries that comes with 2.7.1 version.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

看看 generateDS
Have a look at generateDS