X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fupdate-csit-tests.sh;h=b6da8dcf421b8abae559d5e5b4047542902e28bc;hb=5fc2156290374aff85016f902c7c0304b97ab204;hp=6522677076f60e63b4162822efc158e93bb63991;hpb=beec3bd9fda2e5267025010461fbdf8fa2cb2fbb;p=releng%2Fbuilder.git diff --git a/jjb/integration/update-csit-tests.sh b/jjb/integration/update-csit-tests.sh index 652267707..b6da8dcf4 100644 --- a/jjb/integration/update-csit-tests.sh +++ b/jjb/integration/update-csit-tests.sh @@ -14,6 +14,7 @@ jobs_file=$(mktemp) search_string="csit" 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)) @@ -21,7 +22,9 @@ jobs=($(xmlstarlet sel -t -m '//hudson/job' \ job_list="${WORKSPACE}/jjb/integration/csit-jobs-${STREAM}.lst" rm "$job_list" for job in "${jobs[@]}"; do + echo "Checking if $job is blacklisted." if [[ ! $job =~ update-csit-tests|${CSIT_BLACKLIST// /\|} ]]; then echo "${job}," >> "$job_list" + echo " Added $job to job list." fi done