@ -170,6 +170,8 @@ pipeline {
sh "sudo rm -rf ${groupDir} || : "
sh "sudo rm -rf ${groupDir} || : "
withCredentials([usernamePassword(credentialsId: "${JENKINS_GERRIT_CREDS}",
passwordVariable: 'GERRIT_USER_PW', usernameVariable: 'GERRIT_USER_NAME')]) {
checkout scm: [$class: 'GitSCM',
checkout scm: [$class: 'GitSCM',
branches: [[name: "${BRANCH_NAME}"]],
branches: [[name: "${BRANCH_NAME}"]],
extensions: [
extensions: [
@ -181,8 +183,12 @@ pipeline {
shallow: true
shallow: true
],
],
],
],
userRemoteConfigs: [[name: env.GERRIT_NAME, url: testsuiteUrl]]
userRemoteConfigs: [[
name: env.GERRIT_NAME,
url: testsuiteUrl,replaceAll("http(s)?://", "http\$1://${GERRIT_USER_NAME}@")
]]
]
]
}
sh "sudo tests/CI/runTestsuite.sh --testsuite-dir='${groupDir}' --testsuite-command='${groupTestcmd}'"
sh "sudo tests/CI/runTestsuite.sh --testsuite-dir='${groupDir}' --testsuite-command='${groupTestcmd}'"