Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用其其余 API 从 Jenkins 检索过去 3 天的构建摘要并将结果保存为 XML 文件,我该如何继续?
您可以阅读完整指南:
http://YOUR_JENKINS:8080/job/YOUR_JOB/api/
XML 格式的构建摘要:
http://YOUR_JENKINS:8080/job/YOUR_JOB/api/xml
检索前 10 个构建的名称
http://YOUR_JENKINS:8080/job/YOUR_JOB/api/xml?%20tree=jobs[name]{0,10}