corrected how environment variables are read

This commit is contained in:
2025-05-26 12:44:48 +03:00
parent b9853855a1
commit c4079b4049
4 changed files with 15 additions and 5 deletions

View File

@@ -1,4 +1,6 @@
def call(String repoName, String repoUrl) {
def call(String repoName) {
def repoUrl = env.NEXUS_URL
container('helm') {
sh "helm repo add ${repoName} ${repoUrl}"
sh 'helm repo update'