Update Jenkinsfile

This commit is contained in:
2025-05-22 11:10:00 +03:00
parent 5ffdb9f39c
commit 46dfd484c5

11
Jenkinsfile vendored
View File

@@ -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'