fix: fix OpenCI environment sourcing
Change-Id: I85ea32638638621779845dd7f049946e22e9dde5
Signed-off-by: Chris Kay <chris.kay@arm.com>
diff --git a/openci-env.sh b/openci-env.sh
index a6332dd..f96f584 100644
--- a/openci-env.sh
+++ b/openci-env.sh
@@ -10,5 +10,5 @@
#
nfs_volume="${WORKSPACE:?}/nfs"
-jenkins_url="http://review.trustedfirmware.org"
+jenkins_url="http://ci.trustedfirmware.org"
tfa_downloads="https://downloads.trustedfirmware.org/tf-a"
diff --git a/openci-staging-env.sh b/openci-staging-env.sh
new file mode 100644
index 0000000..d975da4
--- /dev/null
+++ b/openci-staging-env.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2022, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+#
+# Environmental settings for the OpenCI staging infrastructure.
+#
+
+nfs_volume="${WORKSPACE:?}/nfs"
+jenkins_url="http://ci.staging.trustedfirmware.org"
+tfa_downloads="https://downloads.trustedfirmware.org/tf-a"
diff --git a/utils.sh b/utils.sh
index ead6ce7..7acab04 100644
--- a/utils.sh
+++ b/utils.sh
@@ -25,6 +25,8 @@
source "$ci_root/arm-env.sh"
elif echo "$JENKINS_URL" | grep -q "ci.trustedfirmware.org"; then
source "$ci_root/openci-env.sh"
+ elif echo "$JENKINS_URL" | grep -q "ci.staging.trustedfirmware.org"; then
+ source "$ci_root/openci-staging-env.sh"
fi
fi