File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 6060 AZURE_DEVOPS_EXT_PAT : $(System.AccessToken)
6161
6262- task : AzureCLI@2
63- displayName : " [Provision] Pool - Build Resource Groups "
63+ displayName : " [Provision] Build Resource Group "
6464 condition : and(succeeded(), eq(variables.CREATE_NEW_RG, True))
6565 inputs :
6666 azureSubscription : $(ACN_TEST_SERVICE_CONNECTION)
@@ -146,15 +146,13 @@ steps:
146146
147147 MI_DATA=$(az identity list \
148148 --resource-group "$ACNCI_BUILD_RESOURCEGROUP" | \
149- jq -rc '.')
149+ jq -rc '.')
150150 MI_DATA_LENGTH=$(echo "$MI_DATA" | jq length)
151151
152- echo $MI_DATA
153- echo $MI_DATA_LENGTH
154152 if [[ -n $MI_DATA ]] && \
155153 [[ $MI_DATA != null ]] && \
156154 (( $MI_DATA_LENGTH > 0 )); then
157- echo >&2 "##vso[task.setvariable variable=MI_DATA;isoutput=true]$MI_ID "
155+ echo >&2 "##vso[task.setvariable variable=MI_DATA;isoutput=true]$MI_DATA "
158156 echo >&2 "##vso[task.setvariable variable=CREATE_NEW_MI;]false"
159157 else
160158 echo >&2 "##vso[task.setvariable variable=CREATE_NEW_MI;]true"
You can’t perform that action at this time.
0 commit comments