fixing trigger params in voltha-atest job

Change-Id: Ie8e97bebe594ef916d6fa08b911c01e6ce61aa79
diff --git a/jjb/pipeline/voltha-atest-provisioning.groovy b/jjb/pipeline/voltha-atest-provisioning.groovy
index 2856bb2..d4a6cde 100755
--- a/jjb/pipeline/voltha-atest-provisioning.groovy
+++ b/jjb/pipeline/voltha-atest-provisioning.groovy
@@ -40,6 +40,7 @@
         sh '''
         sudo service docker restart
         cd $WORKSPACE/cord/incubator/voltha
+        repo download voltha "${gerritChangeNumber}/${gerritPatchsetNumber}"
         chmod +x env.sh
         source env.sh
         make fetch
diff --git a/jjb/voltha-atest-provisioning.yaml b/jjb/voltha-atest-provisioning.yaml
index 76a2535..190bae9 100644
--- a/jjb/voltha-atest-provisioning.yaml
+++ b/jjb/voltha-atest-provisioning.yaml
@@ -49,6 +49,17 @@
           default: 'master'
           description: 'Name of the repo branch to use'
 
+      - string:
+            name: gerritChangeNumber
+            default: '$GERRIT_CHANGE_NUMBER'
+            description: 'Changeset number in Gerrit'
+
+      - string:
+            name: gerritPatchsetNumber
+            default: '$GERRIT_PATCHSET_NUMBER'
+            description: 'PatchSet number in Gerrit'
+
+
     project-type: pipeline
     concurrent: false