-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-35268] Test Trend Chart - number of displayed days differ for each view #214
Comments
What are the build dates of the jobs shown on those test trend graphs? I went looking into this area of the code, and it will not show old dates if there are no builds... If it is now Friday, and the date range is 3 days, then jobs 1&2 would should builds from Wednesday through Friday, but Job3 would only show Friday (even though there is an older build in the history). If that's what's going on, then it seems to be working as designed |
The "phantom" days in the middle and end are definitely a symptom of how this widget was coded by the original developer... Leftmost build is bounded by what builds it finds in Jenkins history and the "# of days to display" field. Moving to the right, it shows the LAST build of each day (and, if none, copies the result from the day prior. Keep an eye on it for the next few days and make sure that it keeps showing your history, and we should be ok. One thing to look out for... if you have Jenkins set to delete your old build history (common, or drives fill up), that can result in the graph being trimmed, because the build records are gone. |
Thanks for your investigation. Well, I have "Discard old builds" enabled in each job, however, Days to keep builds/Artifacts option is set to between 30 and 61 days (depending of project). And if I examine the build history, I still see at least one month old records. So the problem should not be caused by deleted build records? |
I have 3 different views, each view contains between 1-3 test jobs. The Test Trend Chart shows just one day for two views (with 2 or 3 test jobs), while the Test Trend Chart in one particular view shows 8 days? However, neither number of days reflects "Number of (latest) days to display", which I have 14 days for each view?
So based of which number/Jenkins setting does Test Trend Chart display its history?
Originally reported by odklizec, imported from: Test Trend Chart - number of displayed days differ for each view
The text was updated successfully, but these errors were encountered: