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: I0c73d0bb77cc0c81984a5b406a19f4103e66f5ca
Signed-off-by: Saheer Babu <saheer.babu@arm.com>
diff --git a/utils.sh b/utils.sh
index c80af39..b4a5f87 100644
--- a/utils.sh
+++ b/utils.sh
@@ -23,6 +23,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
if echo "$TF_GERRIT_BRANCH" | grep -q "lts-v2.8"; then
source "$ci_root/openci-lts-v2.8-env.sh"