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