SOAP is a piece of shit
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import com.example.DockerBuilder
|
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 dockerBuilder = new DockerBuilder()
|
||||||
def containerName = useCustomDocker ? 'custom-docker' : 'docker'
|
def containerName = useCustomDocker ? 'custom-docker' : 'docker'
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ def call(String appName, String helmChartPath, String helmRepoName,String helmCh
|
|||||||
stage('Deploy Helm Chart') {
|
stage('Deploy Helm Chart') {
|
||||||
script {
|
script {
|
||||||
deployHelm(
|
deployHelm(
|
||||||
appName,
|
releaseName,
|
||||||
helmRepoName,
|
helmRepoName,
|
||||||
appName,
|
appName,
|
||||||
helmChartVersion,
|
helmChartVersion,
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ def call(String projectName, Map config) {
|
|||||||
stage('Build and Deploy') {
|
stage('Build and Deploy') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user