This commit is contained in:
2025-05-26 11:55:30 +03:00
commit 6a55d62f7b
5 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
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}"
}
}