Delete vars/deployArgo.groovy

This commit is contained in:
2025-05-30 09:44:48 +03:00
parent 856945f0f7
commit 4950d56daf

View File

@@ -1,13 +0,0 @@
def call(String releaseName, Map values = [:]) {
container('argocd') {
def argocdCommand = "argocd app set ${releaseName}"
values.each { key, value ->
argocdCommand += " --helm-set ${key}=${value}"
}
sh "${argocdCommand}"
sh "argocd app sync ${releaseName}"
echo "Updated ArgoCD application ${releaseName} with dynamic parameters!"
}
}