Query for last successful build number in Jenkins with change

≯℡__Kan透↙ 提交于 2019-12-05 06:48:29

Jenkins' Remote access API with:

http://jenkins/job/<your job>/<build no>/api/xml

supports XPath, too:

XPath selection

The XML API supports a selection by XPath by using the query parameter 'xpath'. This is convenient for extracting information in environments where XML manipulation is tedious (such as shell script.) See issue #626 for an example of how to use this.
See .../api/ on your Jenkins server for more up-to-date details.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!