File tree 30 files changed +75
-66
lines changed
30 files changed +75
-66
lines changed Original file line number Diff line number Diff line change @@ -236,8 +236,9 @@ function Upload-FilesToAzureContainer
236
236
237
237
if ($useSanitizerActivate ) {
238
238
$sanitizedArguments = [regex ]::Split($additionalArguments , ' (?=(?:[^"]|"[^"]*")*$)' )
239
- Write-Output " ##[command] & azcopy copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
240
- & azcopy copy $sourcePath $containerURL$containerSasToken $sanitizedArguments
239
+ Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
240
+ $uploadCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
241
+ Invoke-Expression $uploadCommand
241
242
} else {
242
243
Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
243
244
$uploadToBlobCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 4 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 4 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
Original file line number Diff line number Diff line change @@ -250,8 +250,9 @@ function Upload-FilesToAzureContainer
250
250
if ($useSanitizerActivate ) {
251
251
# Splitting arguments on space, but not on space inside quotes
252
252
$sanitizedArguments = [regex ]::Split($additionalArguments , ' (?=(?:[^"]|"[^"]*")*$)' )
253
- Write-Output " ##[command] & azcopy copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
254
- & azcopy copy $sourcePath $containerURL$containerSasToken $sanitizedArguments
253
+ Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
254
+ $uploadCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
255
+ Invoke-Expression $uploadCommand
255
256
} else {
256
257
Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
257
258
$uploadToBlobCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 5 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 5 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
Original file line number Diff line number Diff line change @@ -238,8 +238,9 @@ function Upload-FilesToAzureContainer
238
238
if ($useSanitizerActivate ) {
239
239
# Splitting arguments on space, but not on space inside quotes
240
240
$sanitizedArguments = [regex ]::Split($additionalArguments , ' (?=(?:[^"]|"[^"]*")*$)' )
241
- Write-Output " ##[command] & azcopy copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
242
- & azcopy copy $sourcePath $containerURL $sanitizedArguments
241
+ Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
242
+ $uploadCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
243
+ Invoke-Expression $uploadCommand
243
244
} else {
244
245
245
246
Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 6 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 6 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
Original file line number Diff line number Diff line change 1
- Default|4.241.2
2
- Node20_229_2|4.241.3
1
+ Default|4.241.4
2
+ Node20_229_2|4.241.5
Original file line number Diff line number Diff line change @@ -236,8 +236,9 @@ function Upload-FilesToAzureContainer
236
236
237
237
if ($useSanitizerActivate ) {
238
238
$sanitizedArguments = [regex ]::Split($additionalArguments , ' (?=(?:[^"]|"[^"]*")*$)' )
239
- Write-Output " ##[command] & azcopy copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
240
- & azcopy copy $sourcePath $containerURL$containerSasToken $sanitizedArguments
239
+ Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
240
+ $uploadCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
241
+ Invoke-Expression $uploadCommand
241
242
} else {
242
243
Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
243
244
$uploadToBlobCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 4 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
301
301
"ServicePrincipalError" : " There was an error with the service principal used for the deployment."
302
302
},
303
303
"_buildConfigMapping" : {
304
- "Default" : " 4.241.2 " ,
305
- "Node20_229_2" : " 4.241.3 "
304
+ "Default" : " 4.241.4 " ,
305
+ "Node20_229_2" : " 4.241.5 "
306
306
}
307
307
}
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 4 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
301
301
"ServicePrincipalError" : " ms-resource:loc.messages.ServicePrincipalError"
302
302
},
303
303
"_buildConfigMapping" : {
304
- "Default" : " 4.241.2 " ,
305
- "Node20_229_2" : " 4.241.3 "
304
+ "Default" : " 4.241.4 " ,
305
+ "Node20_229_2" : " 4.241.5 "
306
306
}
307
307
}
Original file line number Diff line number Diff line change @@ -236,8 +236,9 @@ function Upload-FilesToAzureContainer
236
236
237
237
if ($useSanitizerActivate ) {
238
238
$sanitizedArguments = [regex ]::Split($additionalArguments , ' (?=(?:[^"]|"[^"]*")*$)' )
239
- Write-Output " ##[command] & azcopy copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
240
- & azcopy copy $sourcePath $containerURL$containerSasToken $sanitizedArguments
239
+ Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
240
+ $uploadCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
241
+ Invoke-Expression $uploadCommand
241
242
} else {
242
243
Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
243
244
$uploadToBlobCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 4 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 3
17
+ "Patch" : 5
18
18
},
19
19
"demands" : [
20
20
" azureps"
305
305
"ServicePrincipalError" : " There was an error with the service principal used for the deployment."
306
306
},
307
307
"_buildConfigMapping" : {
308
- "Default" : " 4.241.2 " ,
309
- "Node20_229_2" : " 4.241.3 "
308
+ "Default" : " 4.241.4 " ,
309
+ "Node20_229_2" : " 4.241.5 "
310
310
}
311
311
}
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 4 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 3
17
+ "Patch" : 5
18
18
},
19
19
"demands" : [
20
20
" azureps"
305
305
"ServicePrincipalError" : " ms-resource:loc.messages.ServicePrincipalError"
306
306
},
307
307
"_buildConfigMapping" : {
308
- "Default" : " 4.241.2 " ,
309
- "Node20_229_2" : " 4.241.3 "
308
+ "Default" : " 4.241.4 " ,
309
+ "Node20_229_2" : " 4.241.5 "
310
310
}
311
311
}
Original file line number Diff line number Diff line change 1
- Default|5.241.2
2
- Node20_229_2|5.241.3
1
+ Default|5.241.4
2
+ Node20_229_2|5.241.5
Original file line number Diff line number Diff line change @@ -250,8 +250,9 @@ function Upload-FilesToAzureContainer
250
250
if ($useSanitizerActivate ) {
251
251
# Splitting arguments on space, but not on space inside quotes
252
252
$sanitizedArguments = [regex ]::Split($additionalArguments , ' (?=(?:[^"]|"[^"]*")*$)' )
253
- Write-Output " ##[command] & azcopy copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
254
- & azcopy copy $sourcePath $containerURL$containerSasToken $sanitizedArguments
253
+ Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
254
+ $uploadCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
255
+ Invoke-Expression $uploadCommand
255
256
} else {
256
257
Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
257
258
$uploadToBlobCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 5 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
301
301
"AzModuleNotFound" : " Could not find the modules: 'Az.Accounts'. If the module was recently installed, retry after restarting the Azure Pipelines task agent."
302
302
},
303
303
"_buildConfigMapping" : {
304
- "Default" : " 5.241.2 " ,
305
- "Node20_229_2" : " 5.241.3 "
304
+ "Default" : " 5.241.4 " ,
305
+ "Node20_229_2" : " 5.241.5 "
306
306
}
307
307
}
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 5 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
301
301
"AzModuleNotFound" : " ms-resource:loc.messages.AzModuleNotFound"
302
302
},
303
303
"_buildConfigMapping" : {
304
- "Default" : " 5.241.2 " ,
305
- "Node20_229_2" : " 5.241.3 "
304
+ "Default" : " 5.241.4 " ,
305
+ "Node20_229_2" : " 5.241.5 "
306
306
}
307
307
}
Original file line number Diff line number Diff line change @@ -250,8 +250,9 @@ function Upload-FilesToAzureContainer
250
250
if ($useSanitizerActivate ) {
251
251
# Splitting arguments on space, but not on space inside quotes
252
252
$sanitizedArguments = [regex ]::Split($additionalArguments , ' (?=(?:[^"]|"[^"]*")*$)' )
253
- Write-Output " ##[command] & azcopy copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
254
- & azcopy copy $sourcePath $containerURL$containerSasToken $sanitizedArguments
253
+ Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
254
+ $uploadCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
255
+ Invoke-Expression $uploadCommand
255
256
} else {
256
257
Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
257
258
$uploadToBlobCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 5 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 3
17
+ "Patch" : 5
18
18
},
19
19
"demands" : [
20
20
" azureps"
305
305
"AzModuleNotFound" : " Could not find the modules: 'Az.Accounts'. If the module was recently installed, retry after restarting the Azure Pipelines task agent."
306
306
},
307
307
"_buildConfigMapping" : {
308
- "Default" : " 5.241.2 " ,
309
- "Node20_229_2" : " 5.241.3 "
308
+ "Default" : " 5.241.4 " ,
309
+ "Node20_229_2" : " 5.241.5 "
310
310
}
311
311
}
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 5 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 3
17
+ "Patch" : 5
18
18
},
19
19
"demands" : [
20
20
" azureps"
305
305
"AzModuleNotFound" : " ms-resource:loc.messages.AzModuleNotFound"
306
306
},
307
307
"_buildConfigMapping" : {
308
- "Default" : " 5.241.2 " ,
309
- "Node20_229_2" : " 5.241.3 "
308
+ "Default" : " 5.241.4 " ,
309
+ "Node20_229_2" : " 5.241.5 "
310
310
}
311
311
}
Original file line number Diff line number Diff line change 1
- Default|6.241.2
2
- Node20_229_2|6.241.3
1
+ Default|6.241.4
2
+ Node20_229_2|6.241.5
Original file line number Diff line number Diff line change @@ -238,8 +238,9 @@ function Upload-FilesToAzureContainer
238
238
if ($useSanitizerActivate ) {
239
239
# Splitting arguments on space, but not on space inside quotes
240
240
$sanitizedArguments = [regex ]::Split($additionalArguments , ' (?=(?:[^"]|"[^"]*")*$)' )
241
- Write-Output " ##[command] & azcopy copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
242
- & azcopy copy $sourcePath $containerURL $sanitizedArguments
241
+ Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
242
+ $uploadCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
243
+ Invoke-Expression $uploadCommand
243
244
} else {
244
245
245
246
Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 6 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
288
288
"AzModuleNotFound" : " Could not find the modules: 'Az.Accounts'. If the module was recently installed, retry after restarting the Azure Pipelines task agent."
289
289
},
290
290
"_buildConfigMapping" : {
291
- "Default" : " 6.241.2 " ,
292
- "Node20_229_2" : " 6.241.3 "
291
+ "Default" : " 6.241.4 " ,
292
+ "Node20_229_2" : " 6.241.5 "
293
293
}
294
294
}
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 6 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 2
17
+ "Patch" : 4
18
18
},
19
19
"demands" : [
20
20
" azureps"
288
288
"AzModuleNotFound" : " ms-resource:loc.messages.AzModuleNotFound"
289
289
},
290
290
"_buildConfigMapping" : {
291
- "Default" : " 6.241.2 " ,
292
- "Node20_229_2" : " 6.241.3 "
291
+ "Default" : " 6.241.4 " ,
292
+ "Node20_229_2" : " 6.241.5 "
293
293
}
294
294
}
Original file line number Diff line number Diff line change @@ -238,8 +238,9 @@ function Upload-FilesToAzureContainer
238
238
if ($useSanitizerActivate ) {
239
239
# Splitting arguments on space, but not on space inside quotes
240
240
$sanitizedArguments = [regex ]::Split($additionalArguments , ' (?=(?:[^"]|"[^"]*")*$)' )
241
- Write-Output " ##[command] & azcopy copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
242
- & azcopy copy $sourcePath $containerURL $sanitizedArguments
241
+ Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
242
+ $uploadCommand = " & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $sanitizedArguments "
243
+ Invoke-Expression $uploadCommand
243
244
} else {
244
245
245
246
Write-Output " ##[command] & `" $azCopyExeLocation `" copy `" $sourcePath `" `" $containerURL `" $additionalArguments "
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : 6 ,
16
16
"Minor" : 241 ,
17
- "Patch" : 3
17
+ "Patch" : 5
18
18
},
19
19
"demands" : [
20
20
" azureps"
292
292
"AzModuleNotFound" : " Could not find the modules: 'Az.Accounts'. If the module was recently installed, retry after restarting the Azure Pipelines task agent."
293
293
},
294
294
"_buildConfigMapping" : {
295
- "Default" : " 6.241.2 " ,
296
- "Node20_229_2" : " 6.241.3 "
295
+ "Default" : " 6.241.4 " ,
296
+ "Node20_229_2" : " 6.241.5 "
297
297
}
298
298
}
You can’t perform that action at this time.
0 commit comments