adding detailing

This commit is contained in:
areeqakbr 2025-02-26 10:34:46 +07:00
parent d06e3fb7f8
commit 8daaf21f7d
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -84,10 +84,11 @@ spec:
stage('Deploy to Kubernetes') {
steps {
container('kubectl') { // ✅ Runs kubectl inside the correct container
sh 'kubectl version --client'
withKubeConfig([credentialsId: '1c8bd8d9-1590-468c-afc7-24495d4330dc']) { // ✅ Uses the Jenkins credential
sh '''
set -e
kubectl apply -f deploy/kubernetes/ --validate=true
kubectl apply -f deploy/kubernetes/dev.yaml --validate=true
'''
}
}