diff --git a/Jenkinsfile b/Jenkinsfile index ed52b43..1127984 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -61,6 +61,13 @@ spec: } } + stage('testing output') + { + steps { + sh 'ls -la' + } + } + stage('Build and Push Docker Image') { steps { container('docker') { // Runs in the Docker container inside Kubernetes @@ -84,7 +91,7 @@ spec: stage('Deploy to Kubernetes') { steps { container('kubectl') { // ✅ Runs kubectl inside the correct container - sh 'kubectl version --client' + sh 'ls -la deploy/kubernetes/' withKubeConfig([credentialsId: '1c8bd8d9-1590-468c-afc7-24495d4330dc']) { // ✅ Uses the Jenkins credential sh ''' set -e