Update vars/buildAndDeploy.groovy

This commit is contained in:
2025-05-29 17:44:44 +03:00
parent 15ad2c59e2
commit 085e5e8414

View File

@@ -37,11 +37,18 @@ def call(String appName, String helmChartPath, String helmRepoName, String names
} }
} }
} }
/*
stage('Add Helm Repo') { stage('Add Helm Repo') {
script { script {
addHelmRepo(helmRepoName, env.NEXUS_URL) addHelmRepo(helmRepoName, env.NEXUS_URL)
} }
} }
*/
stage('Login to ArgoCD') {
script {
argocd_init(env.ARGOCD_SERVER, env.ARGOCD_USER, env.ARGOCD_PASS)
}
}
stage('Deploy Helm Chart') { stage('Deploy Helm Chart') {
script { script {
deployHelm( deployHelm(