Added server teardown phase

This commit is contained in:
Illia Chub 2022-01-12 07:17:42 +02:00
parent 715b230566
commit 727f4b655d

View file

@ -101,13 +101,13 @@ steps:
- > - >
for i in {0..24} for i in {0..24}
do do
jq '.result['$i'].id' .dns_records.json jq '.result['$i'].id' .dns_records.json
done | grep -v null | sed 's/"//g' > .records done | grep -v null | sed 's/"//g' > .records
- export recordIDs=() - export recordIDs=()
- > - >
while IFS= read -r line while IFS= read -r line
do do
recordIDs+=("$line") recordIDs+=("$line")
done < .records done < .records
- > - >
for recordid in "${recordIDs[@]}" for recordid in "${recordIDs[@]}"