Skip to content

Commit 9f78d7c

Browse files
authored
Set all environment variables as UPPERCASE in pipeline (#29631)
1 parent 3d0f8db commit 9f78d7c

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

.azure/pipelines/ci.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ jobs:
102102
/p:SharedFxRID=win-x64
103103
/bl:artifacts/logs/SharedFx-win-x64.binlog
104104
env:
105-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
106-
PB_AssetRootUrl: $(PB_AssetRootUrl)
107-
PB_RestoreSource: $(PB_RestoreSource)
108-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
105+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
106+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
107+
PB_RESTORESOURCE: $(PB_RestoreSource)
108+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
109109
displayName: Build win-x64 SharedFX
110110
- powershell: eng\scripts\KillProcesses.ps1
111111
displayName: Kill processes
@@ -118,10 +118,10 @@ jobs:
118118
/p:SharedFxRID=win-x86
119119
/bl:artifacts/logs/SharedFx-win-x86.binlog
120120
env:
121-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
122-
PB_AssetRootUrl: $(PB_AssetRootUrl)
123-
PB_RestoreSource: $(PB_RestoreSource)
124-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
121+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
122+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
123+
PB_RESTORESOURCE: $(PB_RestoreSource)
124+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
125125
displayName: Build win-x86 SharedFX
126126
- powershell: eng\scripts\KillProcesses.ps1
127127
displayName: Kill processes
@@ -135,10 +135,10 @@ jobs:
135135
/t:DoCodeSigning
136136
/bl:artifacts/logs/CodeSign.binlog
137137
env:
138-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
139-
PB_AssetRootUrl: $(PB_AssetRootUrl)
140-
PB_RestoreSource: $(PB_RestoreSource)
141-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
138+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
139+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
140+
PB_RESTORESOURCE: $(PB_RestoreSource)
141+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
142142
displayName: Code Sign
143143
- powershell: eng\scripts\KillProcesses.ps1
144144
displayName: Kill processes
@@ -198,10 +198,10 @@ jobs:
198198
/p:SharedFxRID=osx-x64
199199
/bl:artifacts/logs/SharedFx-osx-x64.binlog
200200
env:
201-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
202-
PB_AssetRootUrl: $(PB_AssetRootUrl)
203-
PB_RestoreSource: $(PB_RestoreSource)
204-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
201+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
202+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
203+
PB_RESTORESOURCE: $(PB_RestoreSource)
204+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
205205
displayName: Build osx-x64 SharedFX
206206
- task: PublishBuildArtifacts@1
207207
displayName: Upload artifacts
@@ -246,10 +246,10 @@ jobs:
246246
/p:SharedFXRid=linux-x64
247247
/bl:artifacts/logs/SharedFx-linux-x64.binlog
248248
env:
249-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
250-
PB_AssetRootUrl: $(PB_AssetRootUrl)
251-
PB_RestoreSource: $(PB_RestoreSource)
252-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
249+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
250+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
251+
PB_RESTORESOURCE: $(PB_RestoreSource)
252+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
253253
displayName: Build linux-x64 SharedFX
254254
- script: ./$(BuildDirectory)/build.sh
255255
-ci
@@ -259,10 +259,10 @@ jobs:
259259
/p:IsLinuxArmSupported=true
260260
/bl:artifacts/logs/SharedFx-linux-arm.binlog
261261
env:
262-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
263-
PB_AssetRootUrl: $(PB_AssetRootUrl)
264-
PB_RestoreSource: $(PB_RestoreSource)
265-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
262+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
263+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
264+
PB_RESTORESOURCE: $(PB_RestoreSource)
265+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
266266
displayName: Build linux-arm SharedFX
267267
- task: PublishBuildArtifacts@1
268268
displayName: Upload artifacts
@@ -310,10 +310,10 @@ jobs:
310310
/p:SharedFXRid=linux-musl-x64
311311
/bl:artifacts/logs/SharedFx-linux-musl-x64.binlog
312312
env:
313-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
314-
PB_AssetRootUrl: $(PB_AssetRootUrl)
315-
PB_RestoreSource: $(PB_RestoreSource)
316-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
313+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
314+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
315+
PB_RESTORESOURCE: $(PB_RestoreSource)
316+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
317317
displayName: Build linux-musl-x64 SharedFX
318318
- bash: docker system prune -af
319319
displayName: Docker prune
@@ -386,10 +386,10 @@ jobs:
386386
-Config Release
387387
-BuildNumber $(Build.BuildId)
388388
env:
389-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
390-
PB_AssetRootUrl: $(PB_AssetRootUrl)
391-
PB_RestoreSource: $(PB_RestoreSource)
392-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
389+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
390+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
391+
PB_RESTORESOURCE: $(PB_RestoreSource)
392+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
393393
displayName: Run src/Installers/Windows/build.ps1
394394
- powershell: eng\scripts\KillProcesses.ps1
395395
displayName: Kill processes
@@ -443,10 +443,10 @@ jobs:
443443
/t:BuildFallbackArchive
444444
/bl:artifacts/logs/PackageArchive.binlog
445445
env:
446-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
447-
PB_AssetRootUrl: $(PB_AssetRootUrl)
448-
PB_RestoreSource: $(PB_RestoreSource)
449-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
446+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
447+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
448+
PB_RESTORESOURCE: $(PB_RestoreSource)
449+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
450450
displayName: Build Package Archive
451451
- powershell: eng\scripts\KillProcesses.ps1
452452
displayName: Kill processes
@@ -530,10 +530,10 @@ jobs:
530530
/t:BuildInstallers
531531
/bl:artifacts/logs/SharedFx-Installers.binlog
532532
env:
533-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
534-
PB_AssetRootUrl: $(PB_AssetRootUrl)
535-
PB_RestoreSource: $(PB_RestoreSource)
536-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
533+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
534+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
535+
PB_RESTORESOURCE: $(PB_RestoreSource)
536+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
537537
displayName: Build SharedFX Installers
538538
- bash: docker system prune -af
539539
displayName: Docker prune
@@ -703,10 +703,10 @@ jobs:
703703
/p:BuildBranch=$(Build.SourceBranchName)
704704
/bl:artifacts/logs/Publish.binlog
705705
env:
706-
PB_PackageVersionPropsUrl: $(PB_PackageVersionPropsUrl)
707-
PB_AssetRootUrl: $(PB_AssetRootUrl)
708-
PB_RestoreSource: $(PB_RestoreSource)
709-
PB_PublishBlobFeedKey: $(PB_PublishBlobFeedKey)
706+
PB_PACKAGEVERSIONPROPSURL: $(PB_PackageVersionPropsUrl)
707+
PB_ASSETROOTURL: $(PB_AssetRootUrl)
708+
PB_RESTORESOURCE: $(PB_RestoreSource)
709+
PB_PUBLISHBLOBFEEDKEY: $(PB_PublishBlobFeedKey)
710710
displayName: Publish
711711
- powershell: eng\scripts\KillProcesses.ps1
712712
displayName: Kill processes
@@ -719,4 +719,4 @@ jobs:
719719
pathtoPublish: artifacts/logs
720720
artifactName: artifacts-Publish
721721
artifactType: Container
722-
parallel: true
722+
parallel: true

0 commit comments

Comments
 (0)