diff --git a/Jenkinsfile b/Jenkinsfile index 0ba2e3b..ed52b43 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 ''' } }