clone.sh: Do not clone tf-m-scripts to share folder
Jenkins will download tf-m-scripts at the beginning of job being
triggered. It is redundant to clone tf-m-scripts into share folder by
clone.sh. The one in share sholder is actually not used.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I42d7c6061da2983db1cb524f3aed8a1c4534f387
diff --git a/clone.sh b/clone.sh
index b4e2786..607a627 100755
--- a/clone.sh
+++ b/clone.sh
@@ -69,14 +69,9 @@
TFM_REFSPEC="${GERRIT_REFSPEC:?}"
TFM_NAME="trusted-firmware-m"
-SCRIPTS_PROJECT="${CI_SCRIPTS_REPO:?}"
-SCRIPTS_REFSPEC="${CI_SCRIPTS_BRANCH:?}"
-SCRIPTS_NAME="tf-m-ci-scripts"
-
# Array containing "<repo url>;"<repo name>;<refspec>" elements
must_repos=(
"${TFM_PROJECT};${TFM_NAME};${TFM_REFSPEC}"
- "${SCRIPTS_PROJECT};${SCRIPTS_NAME};${SCRIPTS_REFSPEC}"
)
for repo in ${must_repos[@]}; do