forked from hashicorp/terraform-provider-azurerm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.kts
19 lines (15 loc) · 915 Bytes
/
settings.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import AzureRM
import ClientConfiguration
import jetbrains.buildServer.configs.kotlin.v2019_2.*
version = "2020.2"
var clientId = DslContext.getParameter("clientId", "")
var clientSecret = DslContext.getParameter("clientSecret", "")
var subscriptionId = DslContext.getParameter("subscriptionId", "")
var subscriptionIdAlt = DslContext.getParameter("subscriptionIdAlt", "")
var subscriptionIdDevTest = DslContext.getParameter("subscriptionIdDevTest", "")
var tenantId = DslContext.getParameter("tenantId", "")
var environment = DslContext.getParameter("environment", "public")
var clientIdAlt = DslContext.getParameter("clientIdAlt", "")
var clientSecretAlt = DslContext.getParameter("clientSecretAlt", "")
var clientConfig = ClientConfiguration(clientId, clientSecret, subscriptionId, tenantId, clientIdAlt, clientSecretAlt, subscriptionIdAlt, subscriptionIdDevTest)
project(AzureRM(environment, clientConfig))