Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build History Missing in Jenkins

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

like image 903
Terry Zhang Avatar asked Dec 15 '16 17:12

Terry Zhang


2 Answers

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.

like image 159
Software Engineer Avatar answered Sep 22 '22 21:09

Software Engineer


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

like image 25
RejeeshChandran Avatar answered Sep 25 '22 21:09

RejeeshChandran