Added explicitly passing of gerrit variables

Change-Id: Ic84df78990b0fbc0ac5f66e65de306e22d540e72
diff --git a/test-salt-models-pipeline.groovy b/test-salt-models-pipeline.groovy
index bac97fb..7ac0e81 100644
--- a/test-salt-models-pipeline.groovy
+++ b/test-salt-models-pipeline.groovy
@@ -24,7 +24,13 @@
     stage("checkout") {
       if (gerritRef) {
         gerrit.gerritPatchsetCheckout ([
-          credentialsId : CREDENTIALS_ID
+          credentialsId : CREDENTIALS_ID,
+          gerritRefSpec: GERRIT_REFSPEC,
+          gerritName: GERRIT_NAME,
+          gerritHost: GERRIT_HOST,
+          gerritPort: GERRIT_PORT,
+          gerritProject: GERRIT_PROJECT,
+          gerritBranch: GERRIT_BRANCH,
         ])
       } else {
         git.checkoutGitRepository('.', GIT_URL, "master", CREDENTIALS_ID)
@@ -48,7 +54,7 @@
       }
     }
     stage("test") {
-      timeout(10800) {
+      timeout(1440) {
         wrap([$class: 'AnsiColorBuildWrapper']) {
           sh("make test")
         }