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