4
votes

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?

enter image description here

2

2 Answers

7
votes

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.

4
votes

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

enter image description here

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