diff --git a/tests/CI/gates.jenkinsfile b/tests/CI/gates.jenkinsfile index 19c82e8866e2cf7f20d0b1bea9a952cc76c60ae2..1f161d756cf5954e950164d1cd878e2653ea29b4 100644 --- a/tests/CI/gates.jenkinsfile +++ b/tests/CI/gates.jenkinsfile @@ -183,10 +183,13 @@ pipeline { shallow: true ], ], - userRemoteConfigs: [[ + userRemoteConfigs: [ + [ + credentialsId: env.JENKINS_GERRIT_CREDS, name: env.GERRIT_NAME, - url: testsuiteUrl,replaceAll("http(s)?://", "http\$1://${GERRIT_USER_NAME}@") - ]] + url: testsuiteUrl.replaceAll("http(s)?://", "http\$1://${GERRIT_USER_NAME}@") + ] + ] ] }