diff --git a/jenkins/install_jenkins.sh b/jenkins/install_jenkins.sh index 60fc6f6..4c57785 100644 --- a/jenkins/install_jenkins.sh +++ b/jenkins/install_jenkins.sh @@ -295,7 +295,7 @@ sudo service jenkins restart msi_cred=$(cat < GLOBAL - sp + azure_service_principal Local MSI 50342 @@ -304,7 +304,7 @@ EOF sp_cred=$(cat < GLOBAL - sp + azure_service_principal Manual Service Principal ${subscription_id} @@ -335,7 +335,7 @@ vm_agent_conf=conf=$(cat < AzureVMAgents - sp + azure_service_principal 10 existing ${resource_group} @@ -353,7 +353,7 @@ vm_agent_conf=conf=$(cat <false basic Windows Server 2016 - agent + agent_admin_account 60 @@ -369,7 +369,7 @@ vm_agent_conf=conf=$(cat <false basic Ubuntu 16.04 LTS - agent + agent_admin_account 60 @@ -384,7 +384,7 @@ aci_agent_conf=$(cat < AciAgents - sp + azure_service_principal ${resource_group} @@ -404,13 +404,14 @@ aci_agent_conf=$(cat < GLOBAL - agent + agent_admin_account the admin account for the vm agents agentadmin - 1234QWERasdf# + ${agent_admin_password} EOF ) diff --git a/solution_template/jenkins/createUiDefinition.json b/solution_template/jenkins/createUiDefinition.json index 6bc1a56..85c7a06 100644 --- a/solution_template/jenkins/createUiDefinition.json +++ b/solution_template/jenkins/createUiDefinition.json @@ -193,7 +193,7 @@ "visible": true }, { - "name": "section1", + "name": "spSection", "type": "Microsoft.Common.Section", "label": "Service Principal", "elements": [ @@ -263,8 +263,8 @@ "location": "[location()]", "jenkinsReleaseType": "[steps('firstStep').jenkinsReleaseType]", "spType": "[steps('secondStep').sptype]", - "spId": "[steps('secondStep').section1.spid]", - "spSecret": "[steps('secondStep').section1.spsecret]", + "spId": "[steps('secondStep').spSection.spid]", + "spSecret": "[steps('secondStep').spSection.spsecret]", "enableCloudAgents": "[steps('secondStep').enableCloudAgents]" } }