Update Jenkinsfile

This commit is contained in:
2025-05-22 14:24:07 +03:00
parent 1a97858322
commit af9e6774ce

4
Jenkinsfile vendored
View File

@@ -136,12 +136,14 @@ spec:
}
}
stage('Setup Helm Repo') {
agent { label 'local' }
steps {
sh 'helm repo add my-helm-repo http://nexus-repo-nexus-repository-manager:8081/repository/my-helm-repo/'
sh 'helm repo add my-helm-repo http://localhost:8081/repository/my-helm-repo/'
sh 'helm repo update'
}
}
stage('Deploy Helm Chart') {
agent { label 'local' }
steps {
sh 'helm install example-app my-helm-repo/example-app --set port=8090'
}