diff options
author | Drew Scoggins <anscoggi@microsoft.com> | 2017-05-02 23:55:33 -0700 |
---|---|---|
committer | Drew Scoggins <anscoggi@microsoft.com> | 2017-05-02 23:55:33 -0700 |
commit | a9900197ac9b92e164523d6675d1c65015bc8eba (patch) | |
tree | f79ae5ebcf60473db4a2eec12ad4579a7cae291a /perf.groovy | |
parent | 2a105be2593752afb338ad5e02b2031f6e40d679 (diff) | |
download | coreclr-a9900197ac9b92e164523d6675d1c65015bc8eba.tar.gz coreclr-a9900197ac9b92e164523d6675d1c65015bc8eba.tar.bz2 coreclr-a9900197ac9b92e164523d6675d1c65015bc8eba.zip |
Fix triggering of perf correctness runs
When I made the change to have the correctness runs fire in a PR without
the trigger phrase I accidentally did it for all PR's not just for the
smoketest runs. This change fixes that.
Diffstat (limited to 'perf.groovy')
-rw-r--r-- | perf.groovy | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/perf.groovy b/perf.groovy index b490219d1b..2d09c31c0a 100644 --- a/perf.groovy +++ b/perf.groovy @@ -123,7 +123,16 @@ def static getOSGroup(def os) { if (isPR) { TriggerBuilder builder = TriggerBuilder.triggerOnPullRequest() - builder.setGithubContext("${os} ${arch} CoreCLR Perf Tests") + if (isSmoketest) + { + builder.setGithubContext("${os} ${arch} CoreCLR Perf Tests Correctness") + } + else + { + builder.setGithubContext("${os} ${arch} CoreCLR Perf Tests") + builder.triggerOnlyOnComment() + builder.setCustomTriggerPhrase("(?i).*test\\W+${os}\\W+${arch}\\W+perf.*") + } builder.triggerForBranch(branch) builder.emitTrigger(newJob) } |