Lava support for profile M and S artifacts

The profile M and S needs LAVA run and archive the artifacts.
Profile S with PS=OFF by default, but it needs LAVA test.

Change-Id: I9335dc0f12b8537ac1646989adc8d9777b421cf0
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
diff --git a/jenkins/ci.jpl b/jenkins/ci.jpl
index 13f927d..dee4fd1 100644
--- a/jenkins/ci.jpl
+++ b/jenkins/ci.jpl
@@ -240,8 +240,9 @@
     if (build_res.result in failure_states) {
       error("Build failed at ${build_url}")
     }
-    else if (params_collection["NS"] == "False" ||
-             params_collection["PARTITION_PS"] == "OFF") {
+    else if (params_collection["NS"] == "False" || \
+               (params_collection["PROFILE"] == "profile_medium" && \
+               params_collection["PARTITION_PS"] == "OFF")) {
       print("LAVA is not needed for ${build_url}")
     }
     else {