Update Jenkinsfile
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -130,12 +130,14 @@ spec:
|
||||
}
|
||||
}
|
||||
stage('Setup Helm Repo') {
|
||||
agent any
|
||||
steps {
|
||||
sh 'helm repo add my-helm-repo http://nexus-repo-nexus-repository-manager:8081/repository/my-helm-repo/'
|
||||
sh 'helm repo update'
|
||||
}
|
||||
}
|
||||
stage('Deploy Helm Chart') {
|
||||
agent any
|
||||
steps {
|
||||
sh 'helm install example-app my-helm-repo/example-app --set port=8090'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user