Move config file check into own step

Change-Id: I39a0be1ebe6b9d81f5f20d0d6bb8ed595159e95c
diff --git a/jjb/pipeline/voltha-physical-tests.groovy b/jjb/pipeline/voltha-physical-tests.groovy
index 6df0505..f04db9a 100644
--- a/jjb/pipeline/voltha-physical-tests.groovy
+++ b/jjb/pipeline/voltha-physical-tests.groovy
@@ -67,16 +67,6 @@
             git clone -b ${branch} ${cordRepoUrl}/voltha-system-tests
             """
           }
-          try {
-            deployment_config = readYaml file: "${localDeploymentConfigFile}"
-          } catch (err) {
-            echo "Error reading ${localDeploymentConfigFile}"
-            throw err
-          }
-          sh returnStdout: false, script: """
-          if [ ! -e ${localKindVolthaValuesFile} ]; then echo "${localKindVolthaValuesFile} not found"; exit 1; fi
-          if [ ! -e ${localSadisConfigFile} ]; then echo "${localSadisConfigFile} not found"; exit 1; fi
-          """
         }
       }
     }
@@ -107,6 +97,21 @@
       }
     }
 
+    stage('Check config files') {
+      steps {
+        try {
+          deployment_config = readYaml file: "${localDeploymentConfigFile}"
+        } catch (err) {
+          echo "Error reading ${localDeploymentConfigFile}"
+          throw err
+        }
+        sh returnStdout: false, script: """
+        if [ ! -e ${localKindVolthaValuesFile} ]; then echo "${localKindVolthaValuesFile} not found"; exit 1; fi
+        if [ ! -e ${localSadisConfigFile} ]; then echo "${localSadisConfigFile} not found"; exit 1; fi
+        """
+      }
+    }
+
     stage('Create KinD Cluster') {
       steps {
         sh returnStdout: false, script: """