Resolve ShellCheck in integration scripts
[releng/builder.git] / jjb / integration / update-csit-tests.sh
index b6da8dcf421b8abae559d5e5b4047542902e28bc..92bfe1e45c077b41c026ce807cb65e5dfac4b4a6 100644 (file)
@@ -13,10 +13,10 @@ echo "---> update-csit-tests.sh"
 jobs_file=$(mktemp)
 search_string="csit"
 
-wget --quiet -O "$jobs_file" https://jenkins.opendaylight.org/$SILO/api/xml
+wget --quiet -O "$jobs_file" "https://jenkins.opendaylight.org/$SILO/api/xml"
 # shellcheck disable=SC2207
 jobs=($(xmlstarlet sel -t -m '//hudson/job' \
-    -n -v 'name' "$jobs_file" | grep $search_string | grep $STREAM))
+    -n -v 'name' "$jobs_file" | grep $search_string | grep "$STREAM"))
 
 # output as comma-separated list
 job_list="${WORKSPACE}/jjb/integration/csit-jobs-${STREAM}.lst"