Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Add the choice of the jenkins release type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Yu authored and LGDoor committed Jun 20, 2017
1 parent e3cfc52 commit cd8664d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
27 changes: 26 additions & 1 deletion solution_template/jenkins/CreateUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,30 @@
},
"osPlatform": "Linux",
"visible": true
},
{
"name": "jenkinsReleaseType",
"type": "Microsoft.Common.DropDown",
"label": "Jenkins release type",
"defaultValue": "Azure Verified (Recommended)",
"toolTip": "",
"constraints": {
"allowedValues": [
{
"label": "Azure Verified (Recommended)",
"value": "verified"
},
{
"label": "LTS",
"value": "LTS"
},
{
"label": "Weekly Build",
"value": "weekly"
}
]
},
"visible": true
}
],
"steps": [
Expand Down Expand Up @@ -193,7 +217,8 @@
"storageAccountResourceGroup": "[steps('firstStep').storageAccount.resourceGroup]",
"vmName": "[basics('vmName')]",
"vmSize": "[steps('firstStep').vmSize]",
"location": "[location()]"
"location": "[location()]",
"jenkinsReleaseType": "[basics('jenkinsReleaseType')]"
}
}
}
6 changes: 3 additions & 3 deletions solution_template/jenkins/MainTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {
"description": "Artifacts location"
},
"defaultValue": "https://raw.githubusercontent.com/Azure/azure-devops-utils/v0.16.0/",
"defaultValue": "https://raw.githubusercontent.com/Azure/azure-devops-utils/master/",
"type": "string"
},
"_artifactsLocationSasToken": {
Expand Down Expand Up @@ -112,7 +112,7 @@
},
"jenkinsReleaseType": {
"metadata": {
"description": "Jenkins release type (LTS or weekly)"
"description": "Jenkins release type (LTS or weekly or verified)"
},
"type": "string",
"defaultValue": "LTS"
Expand All @@ -131,7 +131,7 @@
"templateUrlIP": "[concat(variables('nestedUrl'),'/publicIP-',parameters('publicIPNewOrExisting'),'.json',parameters('_artifactsLocationSasToken'))]",
"templateUrlStorage": "[concat(variables('nestedUrl'),'/storageAccount-',parameters('storageAccountNewOrExisting'),'.json',parameters('_artifactsLocationSasToken'))]",
"templateUrlVM": "[concat(variables('nestedUrl'),'/VM-',parameters('authenticationType'),'.json',parameters('_artifactsLocationSasToken'))]",
"ubuntuSku": "14.04.5-LTS",
"ubuntuSku": "16.04-LTS",
"virtualNetworkName": "[concat(parameters('vmName'), 'VNET')]",
"virtualNetworkPrefix": "10.0.0.0/16",
"vmDeploymentName": "[concat(parameters('vmName'), '-VM-deploy')]",
Expand Down

0 comments on commit cd8664d

Please sign in to comment.