Set CI environment for OpenCI migration
While migration, JENKINS_PUBLIC_URL will be set to
jenkins.openci.arm.com. Hence, add condition to
set necessary environment.
Change-Id: I831bbb58a141e3d8519915d13127a6b3163b7a43
Signed-off-by: Saheer Babu <saheer.babu@arm.com>
diff --git a/utils.sh b/utils.sh
index 2e0f72e..f65654f 100644
--- a/utils.sh
+++ b/utils.sh
@@ -28,6 +28,9 @@
# Are we running on Arm infrastructure?
if echo "$JENKINS_PUBLIC_URL" | grep -q "oss.arm.com"; then
source "$ci_root/arm-env.sh"
+ elif echo "$JENKINS_PUBLIC_URL" | grep -q "jenkins.openci"; then
+ # This is Arm infrastructure while migration from ci.trustedfirmware.org
+ source "$ci_root/openci-env.sh"
elif echo "$JENKINS_PUBLIC_URL" | grep -q "ci.trustedfirmware.org"; then
source "$ci_root/openci-env.sh"
elif echo "$JENKINS_PUBLIC_URL" | grep -q "ci.staging.trustedfirmware.org"; then