Terry Zhang
Terry Zhang

Reputation: 4791

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

Upvotes: 8

Views: 33572

Answers (4)

RejeeshChandran
RejeeshChandran

Reputation: 4378

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

enter image description here

This configuration can be done for every job you created.

See here for details of the plugin and other ways to use it.

Upvotes: 5

Software Engineer
Software Engineer

Reputation: 16140

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, you should be able to change that.

Upvotes: 11

Maneesha Seelam
Maneesha Seelam

Reputation: 43

From this post in the Jenkins community:

Perhaps too obvious (but it fooled me): but it’s not that the little hide / show caret is toggled to hide, is it?

screenshot

Upvotes: 4

Ioan Simiciuc
Ioan Simiciuc

Reputation: 73

For the new version of Jenkins: enter image description here

Upvotes: 1

Related Questions