Skip to content

Commit 4813a15

Browse files
authored
Add additional environment variables to dockerbuild (#23956) (#24204)
These are used by the publish/asset manifest creation tasks to fill out some attributes. Without these in the docker environment, manifests will be inconsistent between those produced on plain machines and ones produced in docker files.
1 parent 0b415b9 commit 4813a15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dockerbuild.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,14 @@ docker run \
133133
-t \
134134
-e TF_BUILD \
135135
-e BUILD_NUMBER \
136+
-e BUILD_BUILDID \
137+
-e SYSTEM_TEAMPROJECT \
136138
-e BUILD_BUILDNUMBER \
137139
-e BUILD_REPOSITORY_URI \
138140
-e BUILD_SOURCEVERSION \
139141
-e BUILD_SOURCEBRANCH \
142+
-e SYSTEM_DEFINITIONID \
143+
-e SYSTEM_TEAMFOUNDATIONCOLLECTIONURI \
140144
-e DOTNET_CLI_TELEMETRY_OPTOUT \
141145
-e Configuration \
142146
-v "$DIR:$DIR" \

0 commit comments

Comments
 (0)