This template allows you to create an Ubuntu VM software build machine with OpenJDK 7 and 8, Maven (and thus Ant) and Visual Studio Team Services Linux build agent. Once the VM is successfully provisioned, Team Services build agent installation can be verified by looking under your Team Services account settings under Agent pools
Bu Azure Resource Manager (ARM) şablonu Microsoft tarafından değil bir topluluk üyesi tarafından oluşturulmuştur. Her bir ARM şablonu size Microsoft tarafından değil, bir lisans sözleşmesi altında sahibi tarafından lisanslanmıştır. Microsoft, topluluk üyeleri tarafından sağlanan ve lisanslanan ARM şablonlarından sorumlu değildir ve güvenlik, uyumluluk ve performans denetimi yapmaz. Topluluk ARM şablonları herhangi bir Microsoft destek programı veya hizmeti altında desteklenmez ve herhangi bir garanti olmaksızın OLDUĞU GİBİ kullanıma sunulur.
Parametreler
Parametre Adı | Açıklama |
---|---|
vstsAccountURL | Team Services Account URL (e.g. https://myaccount.visualstudio.com) |
vstsPAT | Team Services PAT for user with build permissions |
vstsPoolName | Team Services Agent Pool Name |
vstsAgentName | Team Services Agent Name |
adminUsername | Linux VM User Account Name |
adminPassword | Admin Password |
dnsLabelPrefix | DNS Label for the Public IP. Must be lowercase. It should match with the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$ or it will raise an error. |
location | Location for all resources. |
Şablonu kullanın
PowerShell
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/vsts-minbuildjava-ubuntu-vm/azuredeploy.jsonAzure PowerShell'i yükleme ve yapılandırma
Komut satırı
azure config mode armAzure Platformlar Arası Komut Satırı Arabirimini Yükleme ve Yapılandırma
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/vsts-minbuildjava-ubuntu-vm/azuredeploy.json