Upload rspec and selenium events to splunk
test plan: see them on splunk, build passes fixes: CCI-383 flag = none Change-Id: I7aa85ad4b3ec767314007276d0fd094c31210904 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/237760 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Rex Fleischer <rfleischer@instructure.com> Reviewed-by: James Butters <jbutters@instructure.com> QA-Review: Jacob Powell <spowell@instructure.com> Product-Review: Jacob Powell <spowell@instructure.com>
This commit is contained in:
parent
77347a1d6c
commit
505d00c7a5
|
@ -53,6 +53,8 @@ def runDataDogForMetricWithExtraTags(name, extraTags, block) {
|
|||
finally {
|
||||
def duration = TimeCategory.minus(new Date(), timeStart).toMilliseconds()
|
||||
hackyMetricSend("jenkins.stage.elapsedTimeDist", duration, ["stage:${name}", extraTags].flatten())
|
||||
def splunk = load 'build/new-jenkins/groovy/splunk.groovy'
|
||||
splunk.upload([splunk.eventForStageDuration(name, duration)])
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue