Does anyone read this? I'll be at the coffee shop accross the street.

This commit is contained in:
2025-05-27 13:32:11 +03:00
parent 5477a51877
commit f3d59e489e
3 changed files with 2 additions and 30 deletions

View File

@@ -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"]
)
}
}