Update Jenkinsfile
This commit is contained in:
25
Jenkinsfile
vendored
25
Jenkinsfile
vendored
@@ -68,8 +68,6 @@ spec:
|
|||||||
- emptyDir: {}
|
- emptyDir: {}
|
||||||
name: workspace-volume
|
name: workspace-volume
|
||||||
"""
|
"""
|
||||||
// inheritFrom 'default'
|
|
||||||
// defaultContainer 'jnlp'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages{
|
stages{
|
||||||
@@ -144,27 +142,8 @@ spec:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
stage('check Helm Repo') {
|
|
||||||
agent { label 'local' }
|
|
||||||
steps {
|
|
||||||
sh 'helm repo list'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Setup Helm Repo') {
|
|
||||||
agent { label 'local' }
|
|
||||||
steps {
|
|
||||||
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 --version 1.0.0-SNAPSHOT --set app.ports.http=8090 --set imagePullSecrets[0]=nexus-secret'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
|||||||
Reference in New Issue
Block a user