Fix builders.sh

Change-Id: I4690cd38bcc8786cf23ef6bb38b5199475ee2c83
Signed-off-by: Saheer Babu <saheer.babu@arm.com>
diff --git a/ci-dockerfiles-deployment/container-build.jpl b/ci-dockerfiles-deployment/container-build.jpl
index 7539075..0a3430d 100644
--- a/ci-dockerfiles-deployment/container-build.jpl
+++ b/ci-dockerfiles-deployment/container-build.jpl
@@ -40,9 +40,9 @@
                     checkout scm
                     sh """
                       PROJECT="dockerfiles"
-                      git clone https://${GERRIT_HOST}/${GERRIT_PROJECT} ${PROJECT}
+                      git clone https://${env.GERRIT_HOST}/${env.GERRIT_PROJECT} ${PROJECT}
                       cd ${PROJECT}
-                      git fetch origin $GERRIT_REFSPEC
+                      git fetch origin ${env.GERRIT_REFSPEC}
                       git checkout FETCH_HEAD
                     """