Push poorly written test can down the road another ten years

This commit is contained in:
2025-05-28 09:59:36 +03:00
parent fdbf10d259
commit a26010540c
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import com.example.DockerBuilder
def call(String appName, String releaseName, String helmChartPath, String helmRepoName,String helmChartVersion, Boolean useCustomDocker, Boolean useInsecureRegistry, Integer appPort) {
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'
@@ -45,7 +45,7 @@ def call(String appName, String releaseName, String helmChartPath, String helmRe
stage('Deploy Helm Chart') {
script {
deployHelm(
releaseName,
appName,
helmRepoName,
appName,
helmChartVersion,

View File

@@ -29,7 +29,7 @@ def call(String projectName, Map config) {
stage('Build and Deploy') {
steps {
script {
buildAndDeploy(projectName, config.releaseName, config.helmChart, config.helmRepo, config.version, config.useCustomDocker, config.useInsecureRegistry, config.port)
buildAndDeploy(projectName, config.helmChart, config.helmRepo, config.version, config.useCustomDocker, config.useInsecureRegistry, config.port)
}
}
}