Merge "Fixing check for patchset build in scale test"
diff --git a/jjb/pipeline/voltha-scale-test.groovy b/jjb/pipeline/voltha-scale-test.groovy
index 2e9c325..56a026e 100644
--- a/jjb/pipeline/voltha-scale-test.groovy
+++ b/jjb/pipeline/voltha-scale-test.groovy
@@ -159,7 +159,7 @@
     stage('Build patch') {
       when {
         expression {
-          return env.hasProperty("GERRIT_PROJECT") && env.GERRIT_PROJECT != ""
+          return params.GERRIT_PROJECT
         }
       }
       steps {