How can one set the number of builds kept by Jenkins for a specific job?
Jenkins keeps the last 30 builds of all our jobs. For a specific job, though, we would like to keep 60 builds, not 30.
I went to the job's configuration page, ticked "Discard old builds", entered "60" into "Max # of builds to keep", saved the job configuration, and restarted Jenkins.
After this change, Jenkins still keeps only 30 builds of the job. What am I doing wrong?
Related question: Why are only 30 builds kept? (I thought the default was not to delete any builds.)
We use Jenkins version 2.164.1 under Linux.