make coverage run based on build param
flag = none Change-Id: I557dcb86e7693ee9a4596056fb55262081d3980e Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/223674 Reviewed-by: James Butters <jbutters@instructure.com> Reviewed-by: Derek Bender <djbender@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> QA-Review: Rex Fleischer <rfleischer@instructure.com> Product-Review: Rex Fleischer <rfleischer@instructure.com>
This commit is contained in:
parent
3d78088308
commit
2b00f52086
|
@ -20,7 +20,7 @@
|
|||
|
||||
def runCoverage() {
|
||||
def flags = load 'build/new-jenkins/groovy/commit-flags.groovy'
|
||||
return env.GERRIT_EVENT_TYPE == 'change-merged' || flags.forceRunCoverage() ? '1' : ''
|
||||
return env.RUN_COVERAGE == '1' || flags.forceRunCoverage() ? '1' : ''
|
||||
}
|
||||
|
||||
def getImageTagVersion() {
|
||||
|
|
Loading…
Reference in New Issue