[英]How can I persist Jenkins status page?
I would like to persist the status page of a Jenkins build job's build (the one which contains commits as well as why the build was triggered). 我想保留Jenkins构建作业的构建的状态页(该页面包含提交以及触发构建的原因)。
This should happen in order to get a changelog file. 为了获得变更日志文件,应该发生这种情况。
How am I able to do this? 我该怎么做?
For being a bit more precise, I would like to persist the content which is shown from 为了更加精确,我想保留从中显示的内容
<jenkins-build-server-address>/job/<job-identifier>/<build-number>/api/json?pretty=true
as a file. 作为文件。 A separate buildstep inside the buildjob which takes care of this, would be perfect! 在buildjob中单独进行一个构建步骤来解决这一问题,将是完美的!
如果我正确地理解了您的问题,那么这个之前的StackOverflow问题“ Jenkins:如何保存更改日志以进行构建 ”可能会有答案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.