Update Jenkinsfile
This commit is contained in:
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@@ -41,8 +41,6 @@ spec:
|
|||||||
workingDir: /home/jenkins/agent
|
workingDir: /home/jenkins/agent
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
args: ["sleep 9999999"]
|
args: ["sleep 9999999"]
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
@@ -131,13 +129,6 @@ spec:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Helm check') {
|
|
||||||
steps {
|
|
||||||
container('helm') {
|
|
||||||
sh 'helm repo list'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Setup Helm Repo') {
|
stage('Setup Helm Repo') {
|
||||||
steps {
|
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://nexus-repo-nexus-repository-manager:8081/repository/my-helm-repo/'
|
||||||
|
|||||||
Reference in New Issue
Block a user