only send rpsec metrics in pre-merge
Change-Id: I1dc25d60fac8113ebc9ab5d95698569f46ceb5a2 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283221 Reviewed-by: Aaron Ogata <aogata@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> QA-Review: James Butters <jbutters@instructure.com> Product-Review: James Butters <jbutters@instructure.com>
This commit is contained in:
parent
c72b28f506
commit
4ee1e86337
|
@ -241,6 +241,7 @@ pipeline {
|
|||
parallel(rspecqStages)
|
||||
} //rspecQ
|
||||
|
||||
if (env.GERRIT_EVENT_TYPE != 'change-merged') {
|
||||
stage('Splunk Metrics') {
|
||||
def exampleCount = sh(script: "docker run -e TEST_QUEUE_HOST -t --rm $REGISTRY_BASE/redis:alpine /bin/sh -c '\
|
||||
redis-cli -h $TEST_QUEUE_HOST -p 6379 get ${JOB_NAME}_build${BUILD_NUMBER}_selenium:example_count'", returnStdout: true).replaceAll('"', '').trim()
|
||||
|
@ -253,6 +254,7 @@ pipeline {
|
|||
'upstream_tag': "${env.UPSTREAM_TAG}"
|
||||
])
|
||||
}
|
||||
}
|
||||
} //builder
|
||||
} //runner
|
||||
} //script
|
||||
|
|
Loading…
Reference in New Issue