diff --git a/vars/uploadHelmChart.groovy b/vars/uploadHelmChart.groovy index 0068d74..8073a18 100644 --- a/vars/uploadHelmChart.groovy +++ b/vars/uploadHelmChart.groovy @@ -1,4 +1,4 @@ -def call(String chartFile, String nexusUser, String nexusUrl, String nexusPass) { +def call(String chartFile, String nexusUrl, String nexusUser, String nexusPass) { container('maven') { sh "curl -u ${nexusUser}:${nexusPass} --upload-file ${chartFile} ${nexusUrl}" echo "Helm chart uploaded: ${chartFile} -> ${nexusUrl}"