utils.sh: Update domain of old arm ci
`is_arm_jenkins_env` is causing issues in the new Arm CI
as the paths are derived from different locations.
`is_arm_jenkins_env` is a legacy dead code. It should never
return 0. Instead of returning 0 directly, update the domain
name to match old arm ci.
Change-Id: If8200119dc8e9d233f4705cf45c60d46925294bf
Signed-off-by: Saheer Babu <saheer.babu@arm.com>
(cherry picked from commit 8f405ecbd6ed5a50ad4232377a640088c281dc89)
diff --git a/utils.sh b/utils.sh
index aaf8a65..e07e0ab 100644
--- a/utils.sh
+++ b/utils.sh
@@ -513,7 +513,7 @@
# Check if execution is under ARM's jenkins
is_arm_jenkins_env() {
- local arm_domain="arm.com"
+ local arm_domain="oss.arm.com"
return $(is_jenkins_env "$arm_domain")
}