I understand that it's an antipattern, but it's convenient.

This commit is contained in:
2025-05-26 13:07:34 +03:00
parent 9dc56b77c5
commit c6d63504f2

View File

@@ -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') { container('maven') {
sh "curl -u ${nexusUser}:${nexusPass} --upload-file ${chartFile} ${nexusUrl}" sh "curl -u ${nexusUser}:${nexusPass} --upload-file ${chartFile} ${nexusUrl}"
echo "Helm chart uploaded: ${chartFile} -> ${nexusUrl}" echo "Helm chart uploaded: ${chartFile} -> ${nexusUrl}"