SOAP is a piece of shit

This commit is contained in:
2025-05-28 09:51:22 +03:00
parent 8db9524fed
commit fdbf10d259
2 changed files with 6 additions and 6 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, Integer appPort) {
def call(String appName, String releaseName, 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 helmChartPath, String helmRepoName,String helmCh
stage('Deploy Helm Chart') {
script {
deployHelm(
appName,
releaseName,
helmRepoName,
appName,
helmChartVersion,

View File

@@ -15,11 +15,11 @@ def call(String projectName, Map config) {
}
}
}
stage('Check dependent Pipeline Status') {
steps {
script {
if (config.checkDependencyPipeline) {
if (config.checkDependencyPipeline) {
getJobStatus(config.dependencyPipeline)
}
}
@@ -29,7 +29,7 @@ def call(String projectName, Map config) {
stage('Build and Deploy') {
steps {
script {
buildAndDeploy(projectName, config.helmChart, config.helmRepo, config.version, config.useCustomDocker, config.useInsecureRegistry, config.port)
buildAndDeploy(projectName, config.releaseName, config.helmChart, config.helmRepo, config.version, config.useCustomDocker, config.useInsecureRegistry, config.port)
}
}
}
@@ -43,4 +43,4 @@ def call(String projectName, Map config) {
}
}
}
}
}