Push poorly written test can down the road another ten years
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user