diff --git a/Jenkinsfile b/Jenkinsfile index cd2a583bf0bd73c7d18d37b9b3872bb182ccefb0..5f5e70c9eba17ed44d19f421ee0a5ec420caab5d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -214,7 +214,7 @@ Void deployHelmChart(String helmChartName, String helmChartVersion) { withCredentials([usernamePassword(credentialsId: 'jenkins-nexus-login', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]){ def url = getHelmRepoUrl() echo "Url: ${url}" - def result = sh script: '''curl -u $USERNAME:$PASSWORD''' + url + ''' -F file=@'''+helmChartName+'''-'''+helmChartVersion+'''.tgz''', returnStdout: true + def result = sh script: '''curl -u $USERNAME:$PASSWORD ''' + url + ''' -F file=@'''+helmChartName+'''-'''+helmChartVersion+'''.tgz''', returnStdout: true if (result != '') { error(result)