Does anyone read this? I'll be at the coffee shop accross the street.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import com.example.DockerBuilder
|
||||
|
||||
def call(String appName, String helmChartPath, String helmRepoName,String helmChartVersion, Boolean useCustomDocker, Boolean useInsecureRegistry) {
|
||||
def call(String appName, String helmChartPath, String helmRepoName,String helmChartVersion, Boolean useCustomDocker, Boolean useInsecureRegistry, Integer appPort) {
|
||||
def dockerBuilder = new DockerBuilder()
|
||||
def containerName = useCustomDocker ? 'custom-docker' : 'docker'
|
||||
|
||||
@@ -50,7 +50,7 @@ def call(String appName, String helmChartPath, String helmRepoName,String helmCh
|
||||
helmChartVersion,
|
||||
env.KUBERNETES_API,
|
||||
env.KUBERNETES_TOKEN,
|
||||
["app.image": "localhost:31050/my-docker-repo/${appName}:latest", "app.ports.http": 8090, "app.secret": "nexus-secret"]
|
||||
["app.image": "localhost:31050/my-docker-repo/${appName}:latest", "app.ports.http": appPort, "app.secret": "nexus-secret"]
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user