For perf, we need to keep the run results longer for analysis.
authorSmile Wei <xiwe@microsoft.com>
Tue, 13 Sep 2016 23:21:13 +0000 (16:21 -0700)
committerSmile Wei <xiwe@microsoft.com>
Tue, 13 Sep 2016 23:21:13 +0000 (16:21 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/8a681fb6659e7e7e32afebe39df690e77d95e1be

src/coreclr/perf.groovy

index b348221..b1072f7 100644 (file)
@@ -49,6 +49,17 @@ def static getOSGroup(def os) {
         Utilities.addArchival(newJob, archiveSettings)
 
         Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}")
+
+        // For perf, we need to keep the run results longer
+        newJob.with {
+            // Enable the log rotator
+            logRotator {
+                artifactDaysToKeep(7)
+                daysToKeep(300)
+                artifactNumToKeep(25)
+                numToKeep(1000)
+            }
+        }
         if (isPR) {
             TriggerBuilder builder = TriggerBuilder.triggerOnPullRequest()
             builder.setGithubContext("${os} Perf Tests")