Skip to content

Commit ef808bd

Browse files
author
Sheyla Trudo
committed
fixup! Artifacts
1 parent a5caff2 commit ef808bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pipelines/templates/artifact-storage.steps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ steps:
2929
R_QUERY="[? tags.\""$ACNCI_BUILDTAG_DEFINITIONID"\" && tags.\""$ACNCI_BUILDTAG_CREATEDBYAPPID"\"]"
3030
INFRA_RG_LIST=$(az group list --query "$R_QUERY" \
3131
--tag "$ACNCI_BUILDTAG_DEFINITIONID"="$SYSTEM_DEFINITIONID" \
32-
--tag "$ACNCI_BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId" -o json)
32+
--tag "$ACNCI_BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId" -o json | jq -rc '.[]')
3333
echo "$INFRA_RG_LIST"
3434
3535
INFRA_RG_LENGTH=$(echo "$INFRA_RG_LIST" | jq length)

.pipelines/templates/get-storage-accounts.steps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ steps:
3838
R_LIST=$(az resource list \
3939
--query "$R_QUERY" \
4040
--tag "$ACNCI_BUILDTAG_DEFINITIONID"="$SYSTEM_DEFINITIONID" \
41-
--tag "$ACNCI_BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId" -o json)
41+
--tag "$ACNCI_BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId" -o json | jq -rc '.[]')
4242
echo $R_LIST
4343
# Length of resource list
4444
R_LIST_LENGTH=$(echo "$R_LIST" | jq length)

0 commit comments

Comments
 (0)