Update Jenkinsfile
This commit is contained in:
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -55,14 +55,6 @@ spec:
|
|||||||
- name: NEXUS_DOCKER_PASS
|
- name: NEXUS_DOCKER_PASS
|
||||||
value: "testpass"
|
value: "testpass"
|
||||||
|
|
||||||
- name: privcon
|
|
||||||
image: debian:bookworm-slim
|
|
||||||
workingDir: /home/jenkins/agent
|
|
||||||
command: ["/bin/sh", "-c"]
|
|
||||||
args: ["sleep 9999999"]
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
|
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
serviceAccountName: default
|
serviceAccountName: default
|
||||||
volumes:
|
volumes:
|
||||||
@@ -153,8 +145,7 @@ spec:
|
|||||||
}
|
}
|
||||||
stage('Deploy with Helm') {
|
stage('Deploy with Helm') {
|
||||||
steps {
|
steps {
|
||||||
container('privcon') {
|
sh 'kubectl version --client'
|
||||||
sh 'whoami && ls -la && which helm && pwd'
|
|
||||||
}
|
}
|
||||||
// sh 'helm repo add my-helm-repo http://localhost:8081/repository/my-helm-repo/'
|
// sh 'helm repo add my-helm-repo http://localhost:8081/repository/my-helm-repo/'
|
||||||
// sh 'helm repo update'
|
// sh 'helm repo update'
|
||||||
|
|||||||
Reference in New Issue
Block a user