Skip to content

Commit b6fc917

Browse files
author
Sheyla Trudo
committed
fixup! User Service Connections
1 parent 51fd49e commit b6fc917

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ steps:
211211
SC_DATA=$(echo "$SC_LIST" | jq --argjson IDX "$IDX" -rc '.[$IDX]')
212212
213213
SC_ID=$(echo "$SC_DATA" | jq -rc '.id')
214-
echo >&2 "##vso[task.setvariable variable=ACNCI_SERVICECONNECTION_ID;isoutput=true]$SC_ID"
214+
echo >&2 "##vso[task.setvariable variable=ACNCI_BUILDUSER_SERVICECONNECTION_ID;isoutput=true]$SC_ID"
215215
SC_NAME=$(echo "$SC_DATA" | jq -rc '.name')
216-
echo >&2 "##vso[task.setvariable variable=ACNCI_SERVICECONNECTION_NAME;isoutput=true]$SC_NAME"
216+
echo >&2 "##vso[task.setvariable variable=ACNCI_BUILDUSER_SERVICECONNECTION_NAME;isoutput=true]$SC_NAME"
217217
SC_APP_OID=$(echo "$SC_DATA" | jq -rc '.data.spnObjectId')
218218
echo >&2 "##vso[task.setvariable variable=ACNCI_BUILDUSER_SERVICECONNECTION_APP_OID;isoutput=true]$SC_APP_OID"
219219
SC_APPID=$(echo "$SC_DATA" | jq -rc '.authorization.parameters.serviceprincipalid')
@@ -474,7 +474,7 @@ steps:
474474
STORAGEACCOUNT_NAME: $(artifact_storage.ACNCI_STORAGEACCOUNT_NAME)
475475
STORAGECONTAINER_NAME: $(artifact_storage.ACNCI_STORAGEACCOUNT_CONTAINER_NAME)
476476
STORAGEBLOB_PATH: $(serviceconnection.ACNCI_BUILDUSER_SERVICECONNECTION_CLIENTID)/$(Build.BuildId)/$(System.JobAttempt)
477-
SP_ID: $(serviceconnection.ACNCI_SERVICECONNECTION_CLIENTID)
477+
SP_ID: $(serviceconnection.ACNCI_BUILDUSER_SERVICECONNECTION_CLIENTID)
478478
SP_TENANT: $(build.ACNCI_BUILD_TENANT_ID)
479479

480480
#- template: create-or-update-resource.steps.yaml

0 commit comments

Comments
 (0)