pollInterval Parameter support added

Change-Id: Ia13a8e4d1d1296f3c79bd5610603f8e1fc5f537e
diff --git a/jjb/pipeline/voltha-scale-measurements.groovy b/jjb/pipeline/voltha-scale-measurements.groovy
index 0239627..025eb75 100644
--- a/jjb/pipeline/voltha-scale-measurements.groovy
+++ b/jjb/pipeline/voltha-scale-measurements.groovy
@@ -75,7 +75,7 @@
           until [ $i -eq $onuTarget ]
           do
             echo "$i ONUs ACTIVE of $onuTarget expected (time: $SECONDS)"
-            sleep 20
+            sleep $pollInterval
             i=$(voltctl device list | grep -v OLT | grep ACTIVE | wc -l)
           done
           echo "$onuTarget ONUs Activated in $SECONDS seconds (time: $SECONDS)"
diff --git a/jjb/voltha-scale.yaml b/jjb/voltha-scale.yaml
index 5ff2018..99bb9c2 100644
--- a/jjb/voltha-scale.yaml
+++ b/jjb/voltha-scale.yaml
@@ -53,6 +53,11 @@
           default: 1
           description: 'Expected number of activated ONUs'
 
+      - string:
+          name: pollInterval
+          default: 20
+          description: 'Sleep time between ONU activation checks'
+
     project-type: pipeline
     concurrent: true