build: mount git mirror in buildAndTest helper
@@ -494,9 +494,10 @@ def buildAndTest(testName, image, extraCmakeFlags = [:],
def testNokdb = tests.contains(TEST.NOKDB)
def testAll = tests.contains(TEST.ALL)
def install = tests.contains(TEST.INSTALL)
+ def dockerOpts = [DOCKER_OPTS.MOUNT_MIRROR]
return [(testName): {
stage(testName) {
- withDockerEnv(image) {
+ withDockerEnv(image, dockerOpts) {
try {
dir('build') {
deleteDir()
