Skip to content

Commit c65bf35

Browse files
author
Sheyla Trudo
committed
fixup! Artifacts
1 parent 81db142 commit c65bf35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,17 +234,17 @@ steps:
234234
--arg RESOURCEID "/subscriptions/$SUBSCRIPTION_ID" \
235235
'.assignableScopes[] = $RESOURCEID')
236236
237-
echo $DEF | jq .
238237
if (( $DEFS_FOUND < 1 )); then
239238
az role definition create \
240239
--role-definition "$DEF"
241-
else if (( $DEFS_FOUND == 0 )); then
240+
else if (( $DEFS_FOUND > 0 )); then
242241
az role definition update \
243242
--role-definition "$DEF"
244243
else
245244
echo >&2 "##[error]There was an error creating/updating the role definition."
246245
exit 1
247246
fi
247+
echo $DEF | jq .
248248
env:
249249
ACNCI_BUILD_RESOURCEGROUP_ID: $(resourcegroups.ACNCI_BUILD_RESOURCEGROUP_ID)
250250

0 commit comments

Comments
 (0)