Disable LAVA tests in tf-m-extra-build job

The aim of tf-m-extra-build job is to make sure that
build could pass on all platforms that are supported by TF-M.
LAVA tests is not necessary in this job.

To save resources, disable LAVA tests in tf-m-extra-build job.

Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: Id0f4b32b81df4891f288213b04c79a94eaa4cd36
diff --git a/jenkins/ci.jpl b/jenkins/ci.jpl
index 836b99b..b58c6d7 100644
--- a/jenkins/ci.jpl
+++ b/jenkins/ci.jpl
@@ -213,8 +213,12 @@
 
     // Filter out configs do not need LAVA tests
 
+    // Job tf-m-extra-build does not need LAVA tests
+    if (env.JOB_NAME.equals("tf-m-extra-build")) {
+      print("LAVA is not needed in tf-m-extra-build job.")
+    }
     // Configs with build failure do not need LAVA tests
-    if (build_res.result in failure_states) {
+    else if (build_res.result in failure_states) {
       error("Build failed at ${build_url}")
     } else {
         // Build successful