From c6d63504f2152af8c796558ccf27ec0fe1530a73 Mon Sep 17 00:00:00 2001 From: konsthol Date: Mon, 26 May 2025 13:07:34 +0300 Subject: [PATCH] I understand that it's an antipattern, but it's convenient. --- vars/uploadHelmChart.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"