From 9dc56b77c54c5fb8e10d87cfdbb23639a7c205cd Mon Sep 17 00:00:00 2001 From: konsthol Date: Mon, 26 May 2025 12:51:01 +0300 Subject: [PATCH] reverted change to test --- vars/uploadHelmChart.groovy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vars/uploadHelmChart.groovy b/vars/uploadHelmChart.groovy index 20d22f1..0068d74 100644 --- a/vars/uploadHelmChart.groovy +++ b/vars/uploadHelmChart.groovy @@ -1,6 +1,4 @@ -def call(String chartFile, String nexusUser, String nexusPass) { - def nexusUrl = env.NEXUS_URL - +def call(String chartFile, String nexusUser, String nexusUrl, String nexusPass) { container('maven') { sh "curl -u ${nexusUser}:${nexusPass} --upload-file ${chartFile} ${nexusUrl}" echo "Helm chart uploaded: ${chartFile} -> ${nexusUrl}"