summaryrefslogtreecommitdiff
path: root/perf.groovy
diff options
context:
space:
mode:
authorSmile Wei <xiwe@microsoft.com>2016-09-13 16:21:13 -0700
committerSmile Wei <xiwe@microsoft.com>2016-09-13 16:21:13 -0700
commit8a681fb6659e7e7e32afebe39df690e77d95e1be (patch)
tree11a205b245ecbd94abbc5ee76a48eaf13c6e65a5 /perf.groovy
parent626c27756429923fa96ca49e05ca2a1862acef37 (diff)
downloadcoreclr-8a681fb6659e7e7e32afebe39df690e77d95e1be.tar.gz
coreclr-8a681fb6659e7e7e32afebe39df690e77d95e1be.tar.bz2
coreclr-8a681fb6659e7e7e32afebe39df690e77d95e1be.zip
For perf, we need to keep the run results longer for analysis.
Diffstat (limited to 'perf.groovy')
-rw-r--r--perf.groovy11
1 files changed, 11 insertions, 0 deletions
diff --git a/perf.groovy b/perf.groovy
index b3482213ea..b1072f7a5e 100644
--- a/perf.groovy
+++ b/perf.groovy
@@ -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")