summaryrefslogtreecommitdiff
path: root/perf.groovy
diff options
context:
space:
mode:
authorMichelle McDaniel <adiaaida@gmail.com>2018-03-06 12:37:23 -0800
committerGitHub <noreply@github.com>2018-03-06 12:37:23 -0800
commit28a1d145c82c6c75325dce58d9dcd53551320683 (patch)
treeb1a7a1cba05296d8a5a68eb329dc233f59e23e5f /perf.groovy
parent88e9fb63e5e49ce72a50e2e677fa74d951dc5057 (diff)
downloadcoreclr-28a1d145c82c6c75325dce58d9dcd53551320683.tar.gz
coreclr-28a1d145c82c6c75325dce58d9dcd53551320683.tar.bz2
coreclr-28a1d145c82c6c75325dce58d9dcd53551320683.zip
Disable Perf Runs on Commit (#16781)
We need to disable these jobs on commit until dotnet/core-eng#2808 is fixed.
Diffstat (limited to 'perf.groovy')
-rw-r--r--perf.groovy70
1 files changed, 35 insertions, 35 deletions
diff --git a/perf.groovy b/perf.groovy
index ac471cbd0c..db98bbf256 100644
--- a/perf.groovy
+++ b/perf.groovy
@@ -133,15 +133,15 @@ def static getOSGroup(def os) {
builder.triggerForBranch(branch)
builder.emitTrigger(newJob)
}
- else if (opt_level == 'full_opt') {
+ //else if (opt_level == 'full_opt') {
// Set a push trigger
- TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
- builder.emitTrigger(newJob)
- }
- else {
+ // TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
+ // builder.emitTrigger(newJob)
+ //}
+ //else {
// Set periodic trigger
- Utilities.addPeriodicTrigger(newJob, '@daily')
- }
+ // Utilities.addPeriodicTrigger(newJob, '@daily')
+ //}
}
}
}
@@ -237,15 +237,15 @@ def static getOSGroup(def os) {
builder.triggerForBranch(branch)
builder.emitTrigger(newJob)
}
- else if (opt_level == 'full_opt' && pgo_optimized) {
+ //else if (opt_level == 'full_opt' && pgo_optimized) {
// Set a push trigger
- TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
- builder.emitTrigger(newJob)
- }
- else {
- // Set periodic trigger
- Utilities.addPeriodicTrigger(newJob, '@daily')
- }
+ // TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
+ // builder.emitTrigger(newJob)
+ //}
+ //else {
+ // // Set periodic trigger
+ // Utilities.addPeriodicTrigger(newJob, '@daily')
+ //}
}
}
}
@@ -381,11 +381,11 @@ parallel(
builder.triggerForBranch(branch)
builder.emitTrigger(newFlowJob)
}
- else {
+ //else {
// Set a push trigger
- TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
- builder.emitTrigger(newFlowJob)
- }
+ // TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
+ // builder.emitTrigger(newFlowJob)
+ //}
} // isPR
@@ -525,11 +525,11 @@ parallel(
builder.triggerForBranch(branch)
builder.emitTrigger(newFlowJob)
}
- else {
+ //else {
// Set a push trigger
- TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
- builder.emitTrigger(newFlowJob)
- }
+ // TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
+ // builder.emitTrigger(newFlowJob)
+ //}
} // isPR
@@ -637,15 +637,15 @@ parallel(
builder.triggerForBranch(branch)
builder.emitTrigger(newJob)
}
- else if (opt_level == 'full_opt') {
+ //else if (opt_level == 'full_opt') {
// Set a push trigger
- TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
- builder.emitTrigger(newJob)
- }
- else {
+ // TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
+ // builder.emitTrigger(newJob)
+ //}
+ //else {
// Set periodic trigger
- Utilities.addPeriodicTrigger(newJob, '@daily')
- }
+ // Utilities.addPeriodicTrigger(newJob, '@daily')
+ //}
}
}
}
@@ -717,7 +717,7 @@ parallel(
Utilities.standardJobSetup(newJob, project, false, "*/${branch}")
// Set the cron job here. We run nightly on each flavor, regardless of code changes
- Utilities.addPeriodicTrigger(newJob, "@daily", true /*always run*/)
+ //Utilities.addPeriodicTrigger(newJob, "@daily", true /*always run*/)
newJob.with {
logRotator {
@@ -825,11 +825,11 @@ parallel(
builder.triggerForBranch(branch)
builder.emitTrigger(newJob)
}
- else {
+ //else {
// Set a push trigger
- TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
- builder.emitTrigger(newJob)
- }
+ // TriggerBuilder builder = TriggerBuilder.triggerOnCommit()
+ // builder.emitTrigger(newJob)
+ //}
}
}
}