Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 86d8a0c

Browse files
authored
Port "git clone" fixes to release 2.0.0 (#13467)
* Port "git clone" fixes to release 2.0.0 It migrates "git clone" from unstable github to VSO. The ported commits are: 1. 66d0fed 2. 3ab8def * Fix indentation Fix indentation
1 parent 207515e commit 86d8a0c

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"inputs": {
5151
"filename": "docker",
52-
"arguments": "run --rm $(DockerCommonRunArgs) git clone $(GitHubRepo) $(GitHubDirectory)",
52+
"arguments": "run --rm $(DockerCommonRunArgs) git clone $(VsoCoreClrGitUrl) $(GitHubDirectory)",
5353
"workingFolder": "",
5454
"failOnStandardError": "false"
5555
}
@@ -426,6 +426,20 @@
426426
},
427427
"PB_CleanAgent": {
428428
"value": "true"
429+
},
430+
"VsoAccountName": {
431+
"value": "dn-bot"
432+
},
433+
"VsoCoreClrGitUrl": {
434+
"value": "https://$(VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DevDiv/_git/$(VsoRepositoryName)/"
435+
},
436+
"VsoPassword": {
437+
"value": null,
438+
"isSecret": true
439+
},
440+
"VsoRepositoryName": {
441+
"value": "DotNet-CoreCLR-Trusted",
442+
"allowOverride": true
429443
}
430444
},
431445
"demands": [

buildpipeline/DotNet-CoreClr-Trusted-Linux.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"inputs": {
5151
"filename": "docker",
52-
"arguments": "run --rm $(DockerCommonRunArgs) git clone $(GitHubRepo) $(GitHubDirectory)",
52+
"arguments": "run --rm $(DockerCommonRunArgs) git clone $(VsoCoreClrGitUrl) $(GitHubDirectory)",
5353
"workingFolder": "",
5454
"failOnStandardError": "false"
5555
}
@@ -390,6 +390,20 @@
390390
},
391391
"PB_AdditionalBuildArgs": {
392392
"value":""
393+
},
394+
"VsoAccountName": {
395+
"value": "dn-bot"
396+
},
397+
"VsoCoreClrGitUrl": {
398+
"value": "https://$(VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DevDiv/_git/$(VsoRepositoryName)/"
399+
},
400+
"VsoPassword": {
401+
"value": null,
402+
"isSecret": true
403+
},
404+
"VsoRepositoryName": {
405+
"value": "DotNet-CoreCLR-Trusted",
406+
"allowOverride": true
393407
}
394408
},
395409
"demands": [

0 commit comments

Comments
 (0)