Delete vars/deployArgo.groovy
This commit is contained in:
@@ -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!"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user