Description

Matches builds that age is between given days range. It calculates days only without checking build time.

Use cases

Allow to match several builds at once based on build age.

Warning!

Time of the build time is reset to zero before comparison so only days are compared. For example maxDaysAge equal to 0 refers to builds which were completed today and range 1-2 means builds which were completed yesterday or the day before yesterday. Build completed time (age) is calculated as sum of getStartTimeInMillis() and getDuration().

Debugging

Plugin is logging a lot about what is doing and why. More about how to find logs find here. Find entries tagged as pl.damianszczepanik.jenkins.buildhistorymanager.