Build History Missing in Jenkins

痞子三分冷 提交于 2019-12-10 21:49:53

问题


I just set up a new Jenkins instance for my project (Version 2.19.4). But when I try to generate several builds for testing I find that the Build History only shows me one historical build.

Before upgrading, it showed at least two or more. Is there a place in Jenkins I can set the number of historical builds which should show up?


回答1:


In the job configuration page you can set the number of historic builds to maintain in the history. You've probably got it set to 0. If you have admin rights on that job then you should be able to change that.




回答2:


In Jenkins configuration you can use "Discard Old Build" Plugin to keep history of builds.

And this configuration can be done for every job you have created.

To see details of Plugin and more different ways to use it click here



来源:https://stackoverflow.com/questions/41169736/build-history-missing-in-jenkins

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