SQL: Re-add removed CI script behavior
When I dropped the CI script changes for SQL I forgot to restore the old
behavior. This fixes that.
Original commit: elastic/x-pack-elasticsearch@5bbef0285e524df4e583e7e3f16f98d8efb36761
@@ -125,6 +125,8 @@ if [ -z ${USE_EXISTING_ES:+x} ]; then
echo " -> using CI branch $BRANCH from elastic repo"
}
+ pick_clone_target
+
DEPTH=1
if [ -n "$BUILD_METADATA" ]; then
IFS=';' read -ra metadata <<< "$BUILD_METADATA"
