ci.jpl: Only print SQUAD log in performance job

SQUAD.log is only available in tf-m-nightly-performance job. So disable
printing SQUAD.log in other jobs to avoid unexpected error.

Also, "parseTestResults" is to show detailed LAVA test results and job
links, which has nothing to do with SQUAD data. So do not pass SQUAD.log
to "parseTestResults".

Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I5849894d91767cf42bec5dd8c0259738d7be7090
diff --git a/jenkins/ci.jpl b/jenkins/ci.jpl
index c614756..7462632 100644
--- a/jenkins/ci.jpl
+++ b/jenkins/ci.jpl
@@ -425,14 +425,18 @@
       } finally {
         if (all_jobs.size() > 0) {
           output = readFile("output.log")
-          performance_output = readFile("SQUAD.log")
           println("--- output from lava_wait_jobs.py ---")
           println(output)
           println("--- end of output from lava_wait_jobs.py ---")
-          println("--- output from performance.py ---")
-          println(performance_output)
-          println("--- end of output from performance.py ---")
-          test_results = parseTestResults(output + performance_output)
+          test_results = parseTestResults(output)
+
+          if (env.JOB_NAME.equals("tf-m-nightly-performance")) {
+            performance_output = readFile("SQUAD.log")
+            println("--- output from performance.py ---")
+            println(performance_output)
+            println("--- end of output from performance.py ---")
+          }
+
           archiveArtifacts artifacts: 'test_summary.*', allowEmptyArchive: true
           archiveArtifacts artifacts: 'cfgs/**', allowEmptyArchive: true
           if (all_jobs.size() > 0) {