Migrate Git clone from GitHub to VSO (#13430)
authorsmile21prc <xiwe@microsoft.com>
Fri, 18 Aug 2017 01:24:22 +0000 (18:24 -0700)
committerGitHub <noreply@github.com>
Fri, 18 Aug 2017 01:24:22 +0000 (18:24 -0700)
* Migrate Git clone from GitHub to VSO

Migrate Git clone from GitHub to VSO

* Correct var name

Correct var name

* Remove PB_ as they are unnecessary and confusing.

Remove PB_ as they are unnecessary and confusing.

* Add dependent vars.

Add dependent vars.

* Fix repo name.

Fix repo name.

buildpipeline/DotNet-CoreClr-Trusted-Linux.json

index b20c7db..711b7b0 100644 (file)
@@ -49,7 +49,7 @@
       },
       "inputs": {
         "filename": "docker",
-        "arguments": "run --rm $(DockerCommonRunArgs) git clone $(GitHubRepo) $(GitHubDirectory)",
+        "arguments": "run --rm $(DockerCommonRunArgs) git clone $(VsoCoreClrGitUrl) $(GitHubDirectory)",
         "workingFolder": "",
         "failOnStandardError": "false"
       }
     },
     "PB_AdditionalBuildArgs": {
       "value":""
+    },
+    "VsoAccountName": {
+      "value": "dn-bot"
+    },
+    "VsoCoreClrGitUrl": {
+      "value": "https://$(VsoAccountName):$(VsoPassword)@devdiv.visualstudio.com/DevDiv/_git/$(VsoRepositoryName)/"
+    },
+    "VsoPassword": {
+      "value": null,
+      "isSecret": true
+    },
+    "VsoRepositoryName": {
+      "value": "DotNet-CoreCLR-Trusted"
     }
   },
   "demands": [