Add explicitly gerrit params passing to test groovy pipeline

Change-Id: I75a89a02d8688a8240db11a49c801adf0984d4bb
diff --git a/test-groovy-pipeline.groovy b/test-groovy-pipeline.groovy
index 66e0393..45404cb 100644
--- a/test-groovy-pipeline.groovy
+++ b/test-groovy-pipeline.groovy
@@ -14,7 +14,13 @@
         stage ('Checkout source code'){
             gerrit.gerritPatchsetCheckout ([
               credentialsId : CREDENTIALS_ID,
-              withWipeOut : true
+              withWipeOut : true,
+              gerritRefSpec: GERRIT_REFSPEC,
+              gerritName: GERRIT_NAME,
+              gerritHost: GERRIT_HOST,
+              gerritPort: GERRIT_PORT,
+              gerritProject: GERRIT_PROJECT,
+              gerritBranch: GERRIT_BRANCH,
             ])
         }
         stage ('Run Codenarc tests'){