Jenkins 的 XML 格式

发布于 12-28 13:09 字数 307 浏览 2 评论 0原文

我正在用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

撑一把青伞2025-01-04 13:09:13

看看 generateDS

Have a look at generateDS

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文